File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,6 @@ class webserver
189189 std::set<http::ip_representation> allowances;
190190
191191 std::vector<details::daemon_item*> daemons;
192- std::vector<pthread_t > threads;
193192
194193 static void * select (void * self);
195194 static void * cleaner (void * self);
Original file line number Diff line number Diff line change @@ -381,13 +381,6 @@ bool webserver::stop()
381381 this ->running = false ;
382382 pthread_cond_signal (&mutexcond);
383383 pthread_mutex_unlock (&mutexwait);
384- for (unsigned int i = 0 ; i < threads.size (); ++i)
385- {
386- void * t_res;
387- pthread_join (threads[i], &t_res);
388- free (t_res);
389- }
390- threads.clear ();
391384 typedef vector<details::daemon_item*>::const_iterator daemon_item_it;
392385
393386 for (daemon_item_it it = daemons.begin (); it != daemons.end (); ++it)
You can’t perform that action at this time.
0 commit comments