pyro4 stockmarket example - terminating viewer

Michael Schubnell <[email protected]>
Newsgroups gmane.comp.python.pyro
Message-ID <CAGZfH62ZtBMfdV=XdmzY2NHjtX_zbuOCNOZkwuQYK2AGJmFd4A@mail.gmail.com>
First off, the Pyro4 tutorial is outstanding and very helpful. I have
worked through the stockmarket example and have tried to modify it so that
a viewer can quit. A simple modification like:

try:
      daemon.requestLoop()
finally:
      daemon.unregister(viewer)

doesn't work. Has anyone  successfully implemented such  a modification or
can give me pointers as to what steps need to be taken to be able to quit a
viewer (either gently or with ctrl-C).
Thanks,
Michael

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d

_______________________________________________
Pyro-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyro-core
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.