aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2013-11-05 17:11:43 +0100
committerDan Gudmundsson <[email protected]>2013-11-05 17:11:43 +0100
commit4a4540ecfd111af7703055b513b259cace49464c (patch)
treeac71e2a18a83699109369414e2464973786c159e /lib
parent761dcd4a2933e415b639a86bcc15ef84477e9fdb (diff)
downloadotp-4a4540ecfd111af7703055b513b259cace49464c.tar.gz
otp-4a4540ecfd111af7703055b513b259cace49464c.tar.bz2
otp-4a4540ecfd111af7703055b513b259cace49464c.zip
wx: Fix looping debug printout
Find endless loop, if we wxe_master is killed we can't send messages to it.
Diffstat (limited to 'lib')
-rw-r--r--lib/wx/c_src/wxe_return.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/wx/c_src/wxe_return.cpp b/lib/wx/c_src/wxe_return.cpp
index d50a74ac9d..aebf6bae1b 100644
--- a/lib/wx/c_src/wxe_return.cpp
+++ b/lib/wx/c_src/wxe_return.cpp
@@ -66,9 +66,7 @@ int wxeReturn::send() {
#ifdef DEBUG
if(res == -1) {
- wxString msg;
- msg.Printf(wxT("Failed to send return or event msg"));
- send_msg("internal_error", &msg);
+ fprintf(stderr, "Failed to send return or event msg\r\n");
}
#endif