Fix crash on exit.
First it crashed in the thread that checks for android devices, then in the audio driver.
This commit is contained in:
parent
551e64728f
commit
246dfc65ca
2 changed files with 11 additions and 0 deletions
|
|
@ -761,6 +761,10 @@ void AudioServer::finish() {
|
|||
}
|
||||
|
||||
buses.clear();
|
||||
|
||||
if (AudioDriver::get_singleton()) {
|
||||
AudioDriver::get_singleton()->finish();
|
||||
}
|
||||
}
|
||||
void AudioServer::update() {
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue