Fix possible crash at exit on iOS
This commit is contained in:
committed by
Marcelo
parent
9a793659dd
commit
116e735e8b
@ -726,7 +726,8 @@ void AudioServerSW::_thread_func(void *self) {
|
||||
|
||||
while (!as->exit_update_thread) {
|
||||
as->_update_streams(true);
|
||||
OS::get_singleton()->delay_usec(5000);
|
||||
if (OS::get_singleton())
|
||||
OS::get_singleton()->delay_usec(5000);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user