diff options
author | Matthew Newhook <matthew@zeroc.com> | 2007-02-02 05:00:22 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2007-02-02 05:00:22 +0000 |
commit | 0d9d5dfe240ff74ccbbc19e3d47a8b079dca06a0 (patch) | |
tree | 13638ca1f856eb41a2a745cc2287740a1bb562df /cpp/test/IceStorm/federation2/Subscriber.cpp | |
parent | http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=1738 (diff) | |
download | ice-0d9d5dfe240ff74ccbbc19e3d47a8b079dca06a0.tar.bz2 ice-0d9d5dfe240ff74ccbbc19e3d47a8b079dca06a0.tar.xz ice-0d9d5dfe240ff74ccbbc19e3d47a8b079dca06a0.zip |
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=1739
Diffstat (limited to 'cpp/test/IceStorm/federation2/Subscriber.cpp')
-rw-r--r-- | cpp/test/IceStorm/federation2/Subscriber.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/IceStorm/federation2/Subscriber.cpp b/cpp/test/IceStorm/federation2/Subscriber.cpp index 2afdc080189..33eba796466 100644 --- a/cpp/test/IceStorm/federation2/Subscriber.cpp +++ b/cpp/test/IceStorm/federation2/Subscriber.cpp @@ -127,8 +127,6 @@ run(int argc, char* argv[], const CommunicatorPtr& communicator) // ObjectPrx obj = adapter->addWithUUID(eventFed1); - adapter->activate(); - IceStorm::QoS qos; if(batch) { @@ -153,6 +151,8 @@ run(int argc, char* argv[], const CommunicatorPtr& communicator) fed1->subscribeAndGetPublisher(qos, obj); + adapter->activate(); + communicator->waitForShutdown(); fed1->unsubscribe(obj); |