From 349b05b9b730a10baec1f75dee2db2bd2f9d0924 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 8 Aug 2015 15:41:26 +0100 Subject: Stop disco_browser and pubsub_client examples once they are finished. --- examples/disco_browser.py | 2 +- examples/pubsub_client.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/disco_browser.py b/examples/disco_browser.py index 783156b8..54f6c933 100755 --- a/examples/disco_browser.py +++ b/examples/disco_browser.py @@ -162,4 +162,4 @@ if __name__ == '__main__': # Connect to the XMPP server and start processing XMPP stanzas. xmpp.connect() - xmpp.process() + xmpp.process(forever=False) diff --git a/examples/pubsub_client.py b/examples/pubsub_client.py index b379af95..faeeddf7 100755 --- a/examples/pubsub_client.py +++ b/examples/pubsub_client.py @@ -171,4 +171,4 @@ if __name__ == '__main__': # Connect to the XMPP server and start processing XMPP stanzas. xmpp.connect() - xmpp.process() + xmpp.process(forever=False) -- cgit v1.2.3