summaryrefslogtreecommitdiff
path: root/src/lib/ecore_win32
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-03-09 16:14:22 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-03-09 16:17:58 -0800
commitcb3e58041b5d4a51a3455dcc3898a40c786e57df (patch)
treebf52e89ed42775e6454e8dd9ad38a5dacd439ebd /src/lib/ecore_win32
parent88889f536927a4a73da1e0d98e0e7e476cac51bc (diff)
ecore_win32: avoid crash during shutdown due to Ecore_Event queue.
Diffstat (limited to 'src/lib/ecore_win32')
-rw-r--r--src/lib/ecore_win32/ecore_win32.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/ecore_win32/ecore_win32.c b/src/lib/ecore_win32/ecore_win32.c
index ea62a710c4..243647ed0c 100644
--- a/src/lib/ecore_win32/ecore_win32.c
+++ b/src/lib/ecore_win32/ecore_win32.c
@@ -614,6 +614,21 @@ ecore_win32_shutdown()
614 614
615 ecore_win32_dnd_shutdown(); 615 ecore_win32_dnd_shutdown();
616 616
617 ecore_event_type_flush(ECORE_WIN32_EVENT_MOUSE_IN,
618 ECORE_WIN32_EVENT_MOUSE_OUT,
619 ECORE_WIN32_EVENT_WINDOW_FOCUS_IN,
620 ECORE_WIN32_EVENT_WINDOW_FOCUS_OUT,
621 ECORE_WIN32_EVENT_WINDOW_DAMAGE,
622 ECORE_WIN32_EVENT_WINDOW_CREATE,
623 ECORE_WIN32_EVENT_WINDOW_DESTROY,
624 ECORE_WIN32_EVENT_WINDOW_SHOW,
625 ECORE_WIN32_EVENT_WINDOW_HIDE,
626 ECORE_WIN32_EVENT_WINDOW_CONFIGURE,
627 ECORE_WIN32_EVENT_WINDOW_RESIZE,
628 ECORE_WIN32_EVENT_WINDOW_DELETE_REQUEST,
629 ECORE_WIN32_EVENT_SELECTION_CLEAR,
630 ECORE_WIN32_EVENT_SELECTION_NOTIFY);
631
617 if (!UnregisterClass(ECORE_WIN32_WINDOW_CLASS, _ecore_win32_instance)) 632 if (!UnregisterClass(ECORE_WIN32_WINDOW_CLASS, _ecore_win32_instance))
618 INF("UnregisterClass() failed"); 633 INF("UnregisterClass() failed");
619 634