aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/src/wxe_server.erl
AgeCommit message (Collapse)Author
2014-02-13wx: Rewrite eventhandling againDan Gudmundsson
Remove the extra wxEvtListener that only caused confusion, now everything is automatically cleaned up by the destructors and event sent to erlang when it becomes delete for all cases.
2013-11-14wx: Fix crash in wxe_server cleanupDan Gudmundsson
Do not use disconnect event listener when we are exiting the port, it may interfere with window destructions and cause a crash.
2013-10-30wx: Fix cleanup of event handlersDan Gudmundsson
Event handlers was not removed after objects/process had been delete/died, which causes memory leakage and that fun's was kept in the wx_server process. Code that might be purged and the server died.
2013-01-25Update copyright yearsBjörn-Egil Dahlberg
2012-11-19Enable silent start of wxHåkan Mattsson
Add {silent_start, boolean()} option to wx:new/1 in order to be able to suppress error messages during startup of wx.
2011-12-06[wx] Avoid deadlock in handle_sync_eventDan Gudmundsson
Avoid sending cb messages to the wx_object, since it may deadlock. Instead send it to the wxe_server which reads the state from the wx_object's process_dictionary. Ugly but it's the only way I can avoid the deadlock.
2011-07-14Handle overloading callbacks the same as eventsDan Gudmundsson
Previously other process wx calls where allowed to execute in the callback code, but that lead to a deadlock if for example a dialog was created.
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP