summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ObjectAdapterI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/ObjectAdapterI.cpp')
-rw-r--r--cpp/src/Ice/ObjectAdapterI.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/cpp/src/Ice/ObjectAdapterI.cpp b/cpp/src/Ice/ObjectAdapterI.cpp
index 68f33a7e1a9..0963773d47d 100644
--- a/cpp/src/Ice/ObjectAdapterI.cpp
+++ b/cpp/src/Ice/ObjectAdapterI.cpp
@@ -743,7 +743,9 @@ Ice::ObjectAdapterI::ObjectAdapterI(const InstancePtr& instance, const Communica
_waitForActivate(false),
_destroying(false),
_destroyed(false),
- _noConfig(noConfig)
+ _noConfig(noConfig),
+ _threadPerConnection(false),
+ _threadPerConnectionStackSize(0)
{
if(_noConfig)
{
@@ -796,10 +798,6 @@ Ice::ObjectAdapterI::ObjectAdapterI(const InstancePtr& instance, const Communica
}
_threadPerConnectionStackSize = stackSize;
}
- else
- {
- _threadPerConnectionStackSize = 0;
- }
//
// Create the per-adapter thread pool, if necessary. This is done before the creation of the incoming