]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/gsocketiohandler.cpp
more fixes for using wxSocket in console applications (patch 1756260)
[wxWidgets.git] / src / common / gsocketiohandler.cpp
index ece535c02cf910f62727c2b758b5d3a955afaad4..63c28bf707bb8fae35078bef54444df0c24ee98f 100644 (file)
@@ -198,6 +198,7 @@ void GSocketGUIFunctionsTableConcrete::Uninstall_Callback(GSocket *socket,
       {
           dispatcher->UnregisterFD(fd);
           delete handler;
       {
           dispatcher->UnregisterFD(fd);
           delete handler;
+          socket->m_handler = NULL;
       }
       else
       {
       }
       else
       {