Merge fix from websocketpp repo

This commit is contained in:
JoelKatz
2013-03-06 23:15:45 -08:00
parent f88bdcfea7
commit 0f4e021b9d

View File

@@ -358,8 +358,6 @@ void server<endpoint>::stop_listen(bool join) {
m_acceptor.close();
}
m_state = STOPPING;
if(join) {
for (std::size_t i = 0; i < m_listening_threads.size(); ++i) {
m_listening_threads[i]->join();