diff options
author | Mark Spruiell <mes@zeroc.com> | 2013-06-26 16:00:21 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2013-06-26 16:00:21 -0700 |
commit | c9db510fe8e0121747fa81efc01fd329819c50d5 (patch) | |
tree | c74219897f62b8a95e4d3f6f13d078e83249de3b /py | |
parent | ICE-5366 icexmld.dll for 64bit wrong (diff) | |
download | ice-c9db510fe8e0121747fa81efc01fd329819c50d5.tar.bz2 ice-c9db510fe8e0121747fa81efc01fd329819c50d5.tar.xz ice-c9db510fe8e0121747fa81efc01fd329819c50d5.zip |
ICE-5320 - fix IceStorm demos
Diffstat (limited to 'py')
-rwxr-xr-x | py/demo/IceStorm/clock/Subscriber.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/py/demo/IceStorm/clock/Subscriber.py b/py/demo/IceStorm/clock/Subscriber.py index 6804abc074e..5e56cc6c09f 100755 --- a/py/demo/IceStorm/clock/Subscriber.py +++ b/py/demo/IceStorm/clock/Subscriber.py @@ -107,6 +107,11 @@ class Subscriber(Ice.Application): subId.name = Ice.generateUUID() subscriber = adapter.add(ClockI(), subId) + # + # Activate the object adapter before subscribing. + # + adapter.activate() + qos = {} if len(retryCount) > 0: qos["retryCount"] = retryCount @@ -139,8 +144,6 @@ class Subscriber(Ice.Application): raise print("reactivating persistent subscriber") - adapter.activate() - self.shutdownOnInterrupt() self.communicator().waitForShutdown() |