Blame wxGTK-2.6.2-socketclosefix.patch

Matthew Miller 52301e
===================================================================
Matthew Miller 52301e
RCS file: /pack/cvsroots/wxwidgets/wxWidgets/src/unix/gsocket.cpp,v
Matthew Miller 52301e
retrieving revision 1.51
Matthew Miller 52301e
retrieving revision 1.51.2.1
Matthew Miller 52301e
diff -u -r1.51 -r1.51.2.1
Matthew Miller 52301e
--- wxWidgets/src/unix/gsocket.cpp	2005/09/19 15:18:27	1.51
Matthew Miller 52301e
+++ wxWidgets/src/unix/gsocket.cpp	2005/10/05 15:37:42	1.51.2.1
Matthew Miller 52301e
@@ -8,7 +8,7 @@
Matthew Miller 52301e
  *              Guillermo Rodriguez Garcia <guille@iies.es>
Matthew Miller 52301e
  * Purpose:     GSocket main Unix and OS/2 file
Matthew Miller 52301e
  * Licence:     The wxWindows licence
Matthew Miller 52301e
- * CVSID:       $Id: gsocket.cpp,v 1.51 2005/09/19 15:18:27 JS Exp $
Matthew Miller 52301e
+ * CVSID:       $Id: gsocket.cpp,v 1.51.2.1 2005/10/05 15:37:42 KH Exp $
Matthew Miller 52301e
  * -------------------------------------------------------------------------
Matthew Miller 52301e
  */
Matthew Miller 52301e
 
Matthew Miller 52301e
@@ -331,6 +331,9 @@
Matthew Miller 52301e
 
Matthew Miller 52301e
   assert(this);
Matthew Miller 52301e
 
Matthew Miller 52301e
+  /* Don't allow events to fire after socket has been closed */
Matthew Miller 52301e
+  gs_gui_functions->Disable_Events(this);
Matthew Miller 52301e
+
Matthew Miller 52301e
   /* If socket has been created, shutdown it */
Matthew Miller 52301e
   if (m_fd != INVALID_SOCKET)
Matthew Miller 52301e
   {