diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-02-12 23:24:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-12 23:24:09 +0100 |
commit | 43d947f54b5514b2ba76735bbf411f499eac2f04 (patch) | |
tree | ff4c55cc338073e96913b09e3c63db56fcd5c630 /platform/windows | |
parent | dc5f978f2867e90b37e39fda44eb38016021384c (diff) | |
parent | bd893f346a1d76d6621443f74467fb78e60071e2 (diff) |
Merge pull request #7771 from Limb/winaudiodriver
Close out audio drivers when exiting on Windows.
Diffstat (limited to 'platform/windows')
-rw-r--r-- | platform/windows/os_windows.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index ffb9bd3bc4..b39d6f664f 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -1282,6 +1282,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() { |