forked from Mirrorlandia_minetest/minetest
Sound: fix static initialization order dependency by not having one (#7168)
Ensure singleton is reset
This commit is contained in:
parent
821e3f7072
commit
376ed5cd3c
@ -64,6 +64,10 @@ ClientLauncher::~ClientLauncher()
|
|||||||
delete g_gamecallback;
|
delete g_gamecallback;
|
||||||
|
|
||||||
delete RenderingEngine::get_instance();
|
delete RenderingEngine::get_instance();
|
||||||
|
|
||||||
|
#if USE_SOUND
|
||||||
|
g_sound_manager_singleton.reset();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user