summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-10-18 19:15:32 +0000
committerMike Buland <eichlan@xagasoft.com>2006-10-18 19:15:32 +0000
commit3e8438b8f2737112feff25f2fd1aa08cccd8fce5 (patch)
tree8b0a9bcf8a4969b859b4bc468e1fdf24339848fa /src
parent1d412abec8c166f03b31af501b7549e8b7420983 (diff)
downloadlibbu++-3e8438b8f2737112feff25f2fd1aa08cccd8fce5.tar.gz
libbu++-3e8438b8f2737112feff25f2fd1aa08cccd8fce5.tar.bz2
libbu++-3e8438b8f2737112feff25f2fd1aa08cccd8fce5.tar.xz
libbu++-3e8438b8f2737112feff25f2fd1aa08cccd8fce5.zip
Updated it, now it doesn't delete the protocol before telling people about it
when shutting down...
Diffstat (limited to 'src')
-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 }