summaryrefslogtreecommitdiff
path: root/platform/windows/os_windows.cpp
diff options
context:
space:
mode:
authorMarcelo Fernandez <marcelofg55@gmail.com>2017-08-02 11:45:19 -0300
committerMarcelo Fernandez <marcelofg55@gmail.com>2017-08-02 11:45:19 -0300
commit1ca107a057b13a73deedb741b1fcc67ec7d885d6 (patch)
tree798da4d56fb6157575225abec64295df45802dda /platform/windows/os_windows.cpp
parent0586524b9ce67bdcab5cef88397c44bb7b9e46fb (diff)
Fix double finalisation of audio drivers
Diffstat (limited to 'platform/windows/os_windows.cpp')
-rw-r--r--platform/windows/os_windows.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp
index da14d5c284..a1a7e3c321 100644
--- a/platform/windows/os_windows.cpp
+++ b/platform/windows/os_windows.cpp
@@ -1192,10 +1192,6 @@ void OS_Windows::finalize() {
main_loop = NULL;
- for (int i = 0; i < get_audio_driver_count(); i++) {
- AudioDriverManager::get_driver(i)->finish();
- }
-
memdelete(joypad);
memdelete(input);