diff options
author | Benoit Foucher <benoit@zeroc.com> | 2016-09-15 09:15:36 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2016-09-15 09:15:36 +0200 |
commit | 643cd9c6e8918955b9acac2a58ac6ef33916012a (patch) | |
tree | b5d1520036831c5595d4209090ba04e2370511bc /cpp/src/Ice/ThreadPool.cpp | |
parent | Fixes to allow cross-compilation (diff) | |
download | ice-643cd9c6e8918955b9acac2a58ac6ef33916012a.tar.bz2 ice-643cd9c6e8918955b9acac2a58ac6ef33916012a.tar.xz ice-643cd9c6e8918955b9acac2a58ac6ef33916012a.zip |
Fixed ICE-7347 - NullHandleException in the thread pool
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: |