diff options
author | Benoit Foucher <benoit@zeroc.com> | 2008-11-12 11:06:14 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2008-11-12 11:06:14 +0100 |
commit | 81d9d330444aa68a13b84acf02ad24108fc3722c (patch) | |
tree | 1bdd07e4a4855c279ca2690fec68e31671d1b336 /cpp/src/Ice/EndpointI.cpp | |
parent | Bug 3529 (diff) | |
download | ice-81d9d330444aa68a13b84acf02ad24108fc3722c.tar.bz2 ice-81d9d330444aa68a13b84acf02ad24108fc3722c.tar.xz ice-81d9d330444aa68a13b84acf02ad24108fc3722c.zip |
Fixed bug 3539 - SEGFAULT if thread start() fails in constructor
Diffstat (limited to 'cpp/src/Ice/EndpointI.cpp')
-rw-r--r-- | cpp/src/Ice/EndpointI.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/Ice/EndpointI.cpp b/cpp/src/Ice/EndpointI.cpp index a9e3832de70..455131d169b 100644 --- a/cpp/src/Ice/EndpointI.cpp +++ b/cpp/src/Ice/EndpointI.cpp @@ -33,7 +33,9 @@ IceInternal::EndpointHostResolver::EndpointHostResolver(const InstancePtr& insta _instance(instance), _destroyed(false) { + __setNoDelete(false); start(); + __setNoDelete(true); } void |