diff --git a/server_http.hpp b/server_http.hpp index 3a20469..888b4d2 100644 --- a/server_http.hpp +++ b/server_http.hpp @@ -49,6 +49,7 @@ namespace SimpleWeb { accept(); //If num_threads>1, start m_io_service.run() in (num_threads-1) threads for thread-pooling + threads.clear(); for(size_t c=1;c