diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-15 00:17:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-15 00:17:44 +0300 |
commit | 69f995bb5124c19746ff026f4e64c7398611e9f0 (patch) | |
tree | 3455a32540e5285595f2d88c30a4b82d3bbea77a /src/progs/manaplus | |
parent | a570c54e39c9a5f626db2453690cb7800d09cea3 (diff) | |
download | manaverse-69f995bb5124c19746ff026f4e64c7398611e9f0.tar.gz manaverse-69f995bb5124c19746ff026f4e64c7398611e9f0.tar.bz2 manaverse-69f995bb5124c19746ff026f4e64c7398611e9f0.tar.xz manaverse-69f995bb5124c19746ff026f4e64c7398611e9f0.zip |
Fix termination audio on exit.
Diffstat (limited to 'src/progs/manaplus')
-rw-r--r-- | src/progs/manaplus/client.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp index f9575e8e4..c008cc6af 100644 --- a/src/progs/manaplus/client.cpp +++ b/src/progs/manaplus/client.cpp @@ -691,8 +691,7 @@ void Client::gameClear() BeingInfo::clear(); - // Shutdown sound - soundManager.close(); + soundManager.shutdown(); if (logger != nullptr) logger->log1("Quitting6"); @@ -701,6 +700,9 @@ void Client::gameClear() ResourceManager::deleteInstance(); + // Shutdown sound + soundManager.close(); + if (logger != nullptr) logger->log1("Quitting8"); @@ -716,7 +718,6 @@ void Client::gameClear() if (logger != nullptr) logger->log1("Quitting10"); - soundManager.shutdown(); touchManager.shutdown(); #ifdef DEBUG_CONFIG |