diff options
Diffstat (limited to 'cpp/src/Ice/ThreadPool.cpp')
-rw-r--r-- | cpp/src/Ice/ThreadPool.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/Ice/ThreadPool.cpp b/cpp/src/Ice/ThreadPool.cpp index 87e3db78a23..7423a3b21f2 100644 --- a/cpp/src/Ice/ThreadPool.cpp +++ b/cpp/src/Ice/ThreadPool.cpp @@ -70,6 +70,11 @@ public: execute(ThreadPoolCurrent& current) { _handler->finished(current, _close); + + // + // Break cyclic reference count. + // + _handler->getNativeInfo()->setReadyCallback(0); } private: |