set OnIdle of desktop message queue NULL for threads runmode

This commit is contained in:
Vincent Wei
2020-02-17 21:27:40 +08:00
parent 6aa9e4ae7d
commit ef69f34bd4

View File

@@ -150,6 +150,9 @@ void* __kernel_desktop_main (void* data)
return NULL;
}
/* for threads mode, the idle handler for desktop thread is NULL */
__mg_dsk_msg_queue->OnIdle = NULL;
/* init desktop window */
init_desktop_win ();