diff options
Diffstat (limited to 'cpp/demo/IceBox/hello/HelloServiceI.cpp')
-rw-r--r-- | cpp/demo/IceBox/hello/HelloServiceI.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/demo/IceBox/hello/HelloServiceI.cpp b/cpp/demo/IceBox/hello/HelloServiceI.cpp index af0408d3bcd..135bd4a8384 100644 --- a/cpp/demo/IceBox/hello/HelloServiceI.cpp +++ b/cpp/demo/IceBox/hello/HelloServiceI.cpp @@ -46,6 +46,5 @@ HelloServiceI::start(const string& name, const Ice::CommunicatorPtr& communicato void HelloServiceI::stop() { - _adapter->deactivate(); - _adapter->waitForDeactivate(); + _adapter->destroy(); } |