diff options
Diffstat (limited to 'cpp/src/Ice/ThreadPool.cpp')
-rw-r--r-- | cpp/src/Ice/ThreadPool.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/Ice/ThreadPool.cpp b/cpp/src/Ice/ThreadPool.cpp index 7423a3b21f2..3769458371b 100644 --- a/cpp/src/Ice/ThreadPool.cpp +++ b/cpp/src/Ice/ThreadPool.cpp @@ -74,7 +74,10 @@ public: // // Break cyclic reference count. // - _handler->getNativeInfo()->setReadyCallback(0); + if(_handler->getNativeInfo()) + { + _handler->getNativeInfo()->setReadyCallback(0); + } } private: |