From 376ed5cd3c0c61135230a2a14b873436d551d266 Mon Sep 17 00:00:00 2001 From: nOOb3167 Date: Thu, 29 Mar 2018 21:43:57 +0200 Subject: Sound: fix static initialization order dependency by not having one (#7168) Ensure singleton is reset --- src/client/clientlauncher.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/client') diff --git a/src/client/clientlauncher.cpp b/src/client/clientlauncher.cpp index 2f8591179..051e4c242 100644 --- 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 } -- cgit v1.2.3