Merge pull request #187 from mjbudd77/master
Bug fix for order of destruction issue caused when shutting down the …
This commit is contained in:
commit
9ad3cc8c7c
|
@ -114,6 +114,12 @@ consoleWin_t::~consoleWin_t(void)
|
|||
// clear the NetworkIP field so this doesn't happen unintentionally
|
||||
g_config->setOption ("SDL.NetworkIP", "");
|
||||
g_config->save ();
|
||||
|
||||
if ( this == consoleWindow )
|
||||
{
|
||||
consoleWindow = NULL;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void consoleWin_t::setCyclePeriodms( int ms )
|
||||
|
|
Loading…
Reference in New Issue