Skip to content

Commit

Permalink
Sound: fix static initialization order dependency by not having one (#…
Browse files Browse the repository at this point in the history
…7168)

Ensure singleton is reset
  • Loading branch information
nOOb3167 authored and SmallJoker committed Mar 29, 2018
1 parent 821e3f7 commit 376ed5c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/client/clientlauncher.cpp
Expand Up @@ -64,6 +64,10 @@ ClientLauncher::~ClientLauncher()
delete g_gamecallback;

delete RenderingEngine::get_instance();

#if USE_SOUND
g_sound_manager_singleton.reset();
#endif
}


Expand Down

0 comments on commit 376ed5c

Please sign in to comment.