External close command

* Fix shutdown segmentation fault encountered during
    shutdown initiated by external xmlrpc command
This commit is contained in:
David Freese 2021-01-26 21:39:45 -06:00
parent e59e9b7282
commit 30868e5f11

View file

@ -186,8 +186,8 @@ void debug::show(void)
void debug::sync_text(void* arg)
{
if (!window->visible())
return;
if (!window) return;
if (!window->visible()) return;
guard_lock dlock(&debug_mutex);
if (inst == 0 || btext == 0) return;