This commit is contained in:
Peter Thorson
2012-01-18 13:55:52 -06:00
parent 4beebe3bc1
commit 7cb31d1b2b

View File

@@ -211,7 +211,7 @@ public:
// close can call terminate immediately which removes the connection
// from m_connections, invalidating the iterator.
while(!m_connections.empty()) {
(m_connections->begin())->close(code,reason);
(*m_connections.begin())->close(code,reason);
}
}