Permalink
Browse files

stop() in ThreadPool::dtor.

  • Loading branch information...
1 parent 01a0757 commit 168dccf7925b01bba138b3c1f1604da2fca5fbac @chenshuo committed Jan 10, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 muduo/base/ThreadPool.cc
View
@@ -23,6 +23,7 @@ ThreadPool::ThreadPool(const string& name)
ThreadPool::~ThreadPool()
{
+ stop();
}
void ThreadPool::start(int numThreads)

0 comments on commit 168dccf

Please sign in to comment.