Close out audio drivers when exiting.

Prevents a crash when closing the project manager.
This commit is contained in:
Kenneth Lorthioir 2017-02-08 20:34:04 -05:00
parent b19c9bd198
commit bd893f346a

View file

@ -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() {