From 861c4e9c54df7594a362013fdf6b1e048e935ae4 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 15 Dec 2008 12:05:14 +0000 Subject: [PATCH] Clear connected flag in Socket::close --- source/socket.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/socket.cpp b/source/socket.cpp index f24bcbe..6db6271 100644 --- a/source/socket.cpp +++ b/source/socket.cpp @@ -135,6 +135,7 @@ void Socket::close() ::close(handle); #endif handle=MSP_NET_INVALID_SOCKET_HANDLE; + connected=false; signal_closed.emit(); delete local_addr; -- 2.45.2