projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
821e3f7
)
Sound: fix static initialization order dependency by not having one (#7168)
author
nOOb3167
<nOOb3167@gmail.com>
Thu, 29 Mar 2018 19:43:57 +0000
(21:43 +0200)
committer
SmallJoker
<SmallJoker@users.noreply.github.com>
Thu, 29 Mar 2018 19:43:57 +0000
(21:43 +0200)
Ensure singleton is reset
src/client/clientlauncher.cpp
patch
|
blob
|
history
diff --git
a/src/client/clientlauncher.cpp
b/src/client/clientlauncher.cpp
index 2f85911795fa4a27741e77720f0a985beeb5fc6d..051e4c24234ad52b0980f53e6341685cddfcd359 100644
(file)
--- a/
src/client/clientlauncher.cpp
+++ b/
src/client/clientlauncher.cpp
@@
-64,6
+64,10
@@
ClientLauncher::~ClientLauncher()
delete g_gamecallback;
delete RenderingEngine::get_instance();
+
+#if USE_SOUND
+ g_sound_manager_singleton.reset();
+#endif
}