diff options
Diffstat (limited to 'cpp/src/Glacier2/Blobject.cpp')
-rw-r--r-- | cpp/src/Glacier2/Blobject.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/Glacier2/Blobject.cpp b/cpp/src/Glacier2/Blobject.cpp index d26a961841e..29b7fc382bb 100644 --- a/cpp/src/Glacier2/Blobject.cpp +++ b/cpp/src/Glacier2/Blobject.cpp @@ -60,6 +60,12 @@ Glacier2::Blobject::Blobject(const CommunicatorPtr& communicator, bool reverse) Int threadStackSize = _properties->getPropertyAsInt("Ice.ThreadPerConnection.StackSize"); _requestQueue->start(static_cast<size_t>(threadStackSize)); + + // + // See the comment in Glacier2::RequestQueue::destroy() + // for why we detach the thread. + // + _requestQueue->getThreadControl().detach(); } catch(const IceUtil::Exception& ex) { |