diff options
author | Dan Gudmundsson <[email protected]> | 2015-12-12 17:24:36 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2015-12-12 17:24:36 +0100 |
commit | dc5fa98e2ce79e072a748142e1f5911f926f93fc (patch) | |
tree | 8ac15917c70fe31bcbaf618ea37630b921132baa | |
parent | a16b7d63cc665dca90305b146c15de04487808db (diff) | |
download | otp-dc5fa98e2ce79e072a748142e1f5911f926f93fc.tar.gz otp-dc5fa98e2ce79e072a748142e1f5911f926f93fc.tar.bz2 otp-dc5fa98e2ce79e072a748142e1f5911f926f93fc.zip |
wx: Revert part of 617387025b698c
Causes issues on mac and observer
-rw-r--r-- | lib/wx/c_src/wxe_impl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/wx/c_src/wxe_impl.cpp b/lib/wx/c_src/wxe_impl.cpp index c5bad41573..f81d0bbbd9 100644 --- a/lib/wx/c_src/wxe_impl.cpp +++ b/lib/wx/c_src/wxe_impl.cpp @@ -225,9 +225,9 @@ void handle_event_callback(ErlDrvPort port, ErlDrvTermData process) if(driver_monitor_process(port, process, &monitor) == 0) { // Should we be able to handle commands when recursing? probably // fprintf(stderr, "\r\nCB EV Start %lu \r\n", process);fflush(stderr); - app->recurse_level += 2; + app->recurse_level++; app->dispatch_cb(wxe_queue, process); - app->recurse_level -= 2; + app->recurse_level--; // fprintf(stderr, "CB EV done %lu \r\n", process);fflush(stderr); driver_demonitor_process(port, &monitor); } |