QTfrontend/tcpBase.cpp
changeset 381 6096d74c37da
parent 380 86f3d818da1c
child 389 9628e69b609f
--- a/QTfrontend/tcpBase.cpp	Sat Feb 03 00:19:16 2007 +0000
+++ b/QTfrontend/tcpBase.cpp	Sat Feb 03 12:42:38 2007 +0000
@@ -73,8 +73,8 @@
 void TCPBase::ClientDisconnect()
 {
   IPCSocket->close();
-  delete IPCSocket;
-  IPCSocket = 0;
+  IPCSocket->deleteLater();
+  // IPCSocket = 0; // FIXME: breaks image receiving
 
   onClientDisconnect();