aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/c_src/wxe_impl.h
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2015-05-12 09:22:20 +0200
committerDan Gudmundsson <[email protected]>2015-05-12 09:22:20 +0200
commit62b24429f440c61ad930d919e49ec637d3580096 (patch)
treea5164b14f3b5608e19268b7a06b322685295ead4 /lib/wx/c_src/wxe_impl.h
parentccb1a2f06aa2b0ab77447572797d7fd75b2bd3c4 (diff)
downloadotp-62b24429f440c61ad930d919e49ec637d3580096.tar.gz
otp-62b24429f440c61ad930d919e49ec637d3580096.tar.bz2
otp-62b24429f440c61ad930d919e49ec637d3580096.zip
wx: Fix raise during emulator stoppage
When emulator is stopped all drivers are stopped but not unloaded and since the clean wx thread stoppage code was in unload callback it was not called and could cause crashes.
Diffstat (limited to 'lib/wx/c_src/wxe_impl.h')
-rw-r--r--lib/wx/c_src/wxe_impl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/wx/c_src/wxe_impl.h b/lib/wx/c_src/wxe_impl.h
index a0a1c84718..b251d5f0f9 100644
--- a/lib/wx/c_src/wxe_impl.h
+++ b/lib/wx/c_src/wxe_impl.h
@@ -46,7 +46,8 @@ typedef wxString wxeLocaleC;
#define WXE_NOT_INITIATED 0
#define WXE_INITIATED 1
-#define WXE_EXITED 2
+#define WXE_EXITING 2
+#define WXE_EXITED 3
#define WXE_ERROR -1
void send_msg(const char *, const wxString *); // For debugging and error msgs