aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2015-12-14 09:44:47 +0100
committerDan Gudmundsson <[email protected]>2015-12-14 09:44:47 +0100
commit5895622d8ae98308e4dc6116a8b7f6b75a262a46 (patch)
tree08d80f521c6c4c01c4fa59e2c122a7790474ac3c
parent668d3cf8e1346695c8e9e58e658eb3bbe4f57a5a (diff)
parentedfc51d4b2c2926848cedefd14993ce18333bc20 (diff)
downloadotp-5895622d8ae98308e4dc6116a8b7f6b75a262a46.tar.gz
otp-5895622d8ae98308e4dc6116a8b7f6b75a262a46.tar.bz2
otp-5895622d8ae98308e4dc6116a8b7f6b75a262a46.zip
Merge branch 'maint'
* maint: wx: Revert part of 617387025b698c
-rw-r--r--lib/wx/c_src/wxe_impl.cpp4
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);
}