summaryrefslogtreecommitdiff
path: root/platform/x11
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/x11
parent0586524b9ce67bdcab5cef88397c44bb7b9e46fb (diff)
Fix double finalisation of audio drivers
Diffstat (limited to 'platform/x11')
-rw-r--r--platform/x11/os_x11.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp
index 1dde328eda..ade3a0a0c5 100644
--- a/platform/x11/os_x11.cpp
+++ b/platform/x11/os_x11.cpp
@@ -529,10 +529,6 @@ void OS_X11::finalize() {
memdelete(main_loop);
main_loop = NULL;
- for (int i = 0; i < get_audio_driver_count(); i++) {
- AudioDriverManager::get_driver(i)->finish();
- }
-
/*
if (debugger_connection_console) {
memdelete(debugger_connection_console);