summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorMarcelo Fernandez <marcelofg55@gmail.com>2017-08-01 18:09:52 -0300
committerMarcelo Fernandez <marcelofg55@gmail.com>2017-08-01 18:09:52 -0300
commit3180827387f3a0f240f911227fd42d93bb4c9b13 (patch)
tree6ce05b14e3e8d64ba5cb760cee795fff9cca93e8 /main
parent6dd1cdc9dbc0fbcdc0a1484906f4ef25610c4c20 (diff)
downloadredot-engine-3180827387f3a0f240f911227fd42d93bb4c9b13.tar.gz
Fix AudioServer::finish not getting called while quitting
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 8960d85c45..ed6ed019f4 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -1704,6 +1704,7 @@ void Main::cleanup() {
#endif
if (audio_server) {
+ audio_server->finish();
memdelete(audio_server);
}