QTfrontend/net/tcpBase.cpp
changeset 7673 e06b83cbde74
parent 7615 b39beffcf05e
child 7794 ab7b94c03bc9
--- a/QTfrontend/net/tcpBase.cpp	Tue Sep 04 18:40:53 2012 -0400
+++ b/QTfrontend/net/tcpBase.cpp	Wed Sep 05 12:36:47 2012 +0200
@@ -96,6 +96,10 @@
  /*   if(srvsList.size()==1) srvsList.pop_front();
     emit isReadyNow();*/
     IPCSocket->deleteLater();
+
+    // make sure this object is not in the server list anymore
+    srvsList.removeOne(this);
+
     deleteLater();
 }