Bug fix for order of destruction issue caused when shutting down the application with the debugger window open.

This commit is contained in:
mjbudd77 2020-10-17 23:26:49 -04:00
parent c1fca59e74
commit 598f036d56
1 changed files with 6 additions and 0 deletions

View File

@ -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 )