Merge pull request from mjbudd77/master

Bug fix for order of destruction issue caused when shutting down the …
This commit is contained in:
mjbudd77 2020-10-17 23:50:41 -04:00 committed by GitHub
commit 9ad3cc8c7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions
src/drivers/Qt

View File

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