Close out audio drivers when exiting.
Prevents a crash when closing the project manager.
This commit is contained in:
parent
b19c9bd198
commit
bd893f346a
1 changed files with 5 additions and 0 deletions
|
@ -1289,6 +1289,11 @@ void OS_Windows::finalize() {
|
|||
|
||||
monitor_info.clear();
|
||||
|
||||
for (int i = 0; i < get_audio_driver_count(); i++)
|
||||
{
|
||||
AudioDriverManager::get_driver(i)->finish();
|
||||
}
|
||||
|
||||
}
|
||||
void OS_Windows::finalize_core() {
|
||||
|
||||
|
|
Loading…
Reference in a new issue