diff options
author | Dan Gudmundsson <[email protected]> | 2019-01-25 08:38:33 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2019-01-25 09:48:48 +0100 |
commit | d7805acb99f2b7ccd97541d189f6494966564d98 (patch) | |
tree | 4ef468ddf69cac6d3a2497fb369e078e43837c51 /erts/include/erl_memory_trace_parser.h | |
parent | f180ccc75a7d2cef6b469d2e4a737cffbef7c951 (diff) | |
download | otp-d7805acb99f2b7ccd97541d189f6494966564d98.tar.gz otp-d7805acb99f2b7ccd97541d189f6494966564d98.tar.bz2 otp-d7805acb99f2b7ccd97541d189f6494966564d98.zip |
Fix showModal crash on Mojave
Invoking wxDialog:showModal could cause a seg-fault on Mojave
if invoked from inside event callback.
Which could happen when wx dispatch commands inside send_event.
Wx dispatches commands inside send_event because some events
will not return to idle mode (on Windows) until mouse is released.
These events are (at least) wxSize and wxMove according to previous
commits.
Solved by only dispatching commands for those events.
Another solution might be to ifdef the code to only do it on windows
or not do it on the Mac.
Diffstat (limited to 'erts/include/erl_memory_trace_parser.h')
0 files changed, 0 insertions, 0 deletions