diff options
Diffstat (limited to 'cpp/src/qpid/cluster/PollerDispatch.cpp')
-rw-r--r-- | cpp/src/qpid/cluster/PollerDispatch.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/qpid/cluster/PollerDispatch.cpp b/cpp/src/qpid/cluster/PollerDispatch.cpp index 528a21481c..c8e28c0d51 100644 --- a/cpp/src/qpid/cluster/PollerDispatch.cpp +++ b/cpp/src/qpid/cluster/PollerDispatch.cpp @@ -36,6 +36,10 @@ PollerDispatch::PollerDispatch(Cpg& c, boost::shared_ptr<sys::Poller> p, ) {} +PollerDispatch::~PollerDispatch() { + dispatchHandle.stopWatch(); +} + void PollerDispatch::start() { dispatchHandle.startWatch(poller); } |