aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/Threading/ThreadPool.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/Threading/ThreadPool.h b/src/common/Threading/ThreadPool.h
index 1606bf98d1e..c99bdf1af4d 100644
--- a/src/common/Threading/ThreadPool.h
+++ b/src/common/Threading/ThreadPool.h
@@ -40,6 +40,11 @@ public:
_impl.join();
}
+ void Stop()
+ {
+ _impl.stop();
+ }
+
private:
boost::asio::thread_pool _impl;
};