Adding the DestroyDebuggerServer prevent exception on termination.
frame:Connect( ID_EXIT, wx.wxEVT_COMMAND_MENU_SELECTED, function (event) if not SaveOnExit(true) then return end DestroyDebuggerServer() frame:Close() -- will handle wxEVT_CLOSE_WINDOW CloseWatchWindow() end) Andre ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users