Hello,
Using Defold 1.2.188-beta, iOS 14.7.1
Encountering a weird issue:
- Open app
- Close it 1 second after open
- Re-open app
- App crashes with logs:
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001c3051b54 __semwait_signal + 8
1 libsystem_c.dylib 0x000000019fe1fab4 nanosleep + 212
2 libsystem_c.dylib 0x000000019fe1f98c usleep + 64
3 Mygame dmDeviceOpenAL::DeviceOpenALClose(void*) (in Mygame) (device_openal.cpp:137)
4 Mygame dmSound::Finalize() (in Mygame) (sound.cpp:450)
5 Mygame dmEngine::Delete(dmEngine::Engine*) (in Mygame) (engine.cpp:289)
6 Mygame ShutdownEngine (in Mygame) (AppDelegate.m:133)
7 CoreFoundation 0x00000001971efa10 __invoking___ + 144
8 CoreFoundation 0x00000001970d1720 -[NSInvocation invoke] + 300
9 CoreFoundation 0x00000001970d1c84 -[NSInvocation invokeWithTarget:] + 76
Strange thing is, it doesn’t happen when re-open the app after a longer time (~10 seconds). It seems that sounds are not closing properly when closing the app quickly after open.
Has anyone encountered this?