summaryrefslogtreecommitdiffstats
path: root/synchronizer/listener.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'synchronizer/listener.cpp')
-rw-r--r--synchronizer/listener.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/synchronizer/listener.cpp b/synchronizer/listener.cpp
index 2559664..60577ac 100644
--- a/synchronizer/listener.cpp
+++ b/synchronizer/listener.cpp
@@ -97,6 +97,7 @@ void Listener::closeAllConnections()
97{ 97{
98 for (Client &client: m_connections) { 98 for (Client &client: m_connections) {
99 if (client.socket) { 99 if (client.socket) {
100 disconnect(client.socket, 0, this, 0);
100 client.socket->close(); 101 client.socket->close();
101 delete client.socket; 102 delete client.socket;
102 client.socket = 0; 103 client.socket = 0;