aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/connectionmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connectionmanager.cpp b/src/connectionmanager.cpp
index fdc5f83..8b62026 100644
--- a/src/connectionmanager.cpp
+++ b/src/connectionmanager.cpp
@@ -224,8 +224,8 @@ bool ConnectionManager::shutdownServer()
224 Connection *i = *(lActive.begin()); 224 Connection *i = *(lActive.begin());
225 if( i->isActive() ) 225 if( i->isActive() )
226 { 226 {
227 i->close();
228 pMonitor->onClosedConnection( i ); 227 pMonitor->onClosedConnection( i );
228 i->close();
229 lInactive.insert( lInactive.end(), i ); 229 lInactive.insert( lInactive.end(), i );
230 lActive.erase( lActive.begin() ); 230 lActive.erase( lActive.begin() );
231 } 231 }