diff options
author | Mark Spruiell <mes@zeroc.com> | 2004-03-02 20:19:06 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2004-03-02 20:19:06 +0000 |
commit | f5268722851ced9c9f99fb697bbb3b95d7f74aff (patch) | |
tree | 7f9b838d0a089dbd232734ec7f7002bc122a2856 /cpp/src | |
parent | Moved the adapter ready message after the adapter registration with the (diff) | |
download | ice-f5268722851ced9c9f99fb697bbb3b95d7f74aff.tar.bz2 ice-f5268722851ced9c9f99fb697bbb3b95d7f74aff.tar.xz ice-f5268722851ced9c9f99fb697bbb3b95d7f74aff.zip |
sync fix
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Ice/ObjectAdapterI.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/Ice/ObjectAdapterI.cpp b/cpp/src/Ice/ObjectAdapterI.cpp index b608ae145b4..2d9e2927400 100644 --- a/cpp/src/Ice/ObjectAdapterI.cpp +++ b/cpp/src/Ice/ObjectAdapterI.cpp @@ -67,6 +67,7 @@ Ice::ObjectAdapterI::activate() LocatorRegistryPrx locatorRegistry; bool registerProcess = false; string serverId; + CommunicatorPtr communicator; bool printAdapterReady = false; { @@ -98,6 +99,7 @@ Ice::ObjectAdapterI::activate() registerProcess = false; } + communicator = _communicator; _printAdapterReadyDone = true; } @@ -139,7 +141,7 @@ Ice::ObjectAdapterI::activate() if(registerProcess) { - ProcessPtr servant = new ProcessI(_communicator); + ProcessPtr servant = new ProcessI(communicator); ProcessPrx proxy = ProcessPrx::uncheckedCast(addWithUUID(servant)); try |