Sound: fix static initialization order dependency by not having one (#7168)

Ensure singleton is reset
This commit is contained in:
nOOb3167 2018-03-29 21:43:57 +02:00 committed by SmallJoker
parent 821e3f7072
commit 376ed5cd3c
1 changed files with 4 additions and 0 deletions

View File

@ -64,6 +64,10 @@ ClientLauncher::~ClientLauncher()
delete g_gamecallback;
delete RenderingEngine::get_instance();
#if USE_SOUND
g_sound_manager_singleton.reset();
#endif
}