Bug fix for order of destruction issue caused when shutting down the application with the debugger window open.
This commit is contained in:
parent
c1fca59e74
commit
598f036d56
|
@ -114,6 +114,12 @@ consoleWin_t::~consoleWin_t(void)
|
||||||
// clear the NetworkIP field so this doesn't happen unintentionally
|
// clear the NetworkIP field so this doesn't happen unintentionally
|
||||||
g_config->setOption ("SDL.NetworkIP", "");
|
g_config->setOption ("SDL.NetworkIP", "");
|
||||||
g_config->save ();
|
g_config->save ();
|
||||||
|
|
||||||
|
if ( this == consoleWindow )
|
||||||
|
{
|
||||||
|
consoleWindow = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void consoleWin_t::setCyclePeriodms( int ms )
|
void consoleWin_t::setCyclePeriodms( int ms )
|
||||||
|
|
Loading…
Reference in New Issue