fix "runtime error: member call on null pointer of type 'struct AppHandler'"
This commit is contained in:
parent
e786afe481
commit
15924e5d9b
|
@ -161,7 +161,8 @@ static void ui_application_qt_process_events(void)
|
|||
|
||||
static void ui_application_qt_quit(void)
|
||||
{
|
||||
appHandler->exit();
|
||||
if (appHandler)
|
||||
appHandler->exit();
|
||||
}
|
||||
|
||||
static void ui_application_qt_run(void *args)
|
||||
|
|
Loading…
Reference in New Issue