diff options
-rw-r--r-- | src/gwin/gwin_wm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gwin/gwin_wm.c b/src/gwin/gwin_wm.c index c0ea8d25..0c4fd1bf 100644 --- a/src/gwin/gwin_wm.c +++ b/src/gwin/gwin_wm.c @@ -742,7 +742,9 @@ static bool_t WM_Add(GHandle gh, const GWindowInit *pInit) { static void WM_Delete(GHandle gh) { // Remove it from the window list + gfxSemWait(&gwinsem, TIME_INFINITE); gfxQueueASyncRemove(&_GWINList, &gh->wmq); + gfxSemSignal(&gwinsem); } static void WM_Redraw(GHandle gh) { |