summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e447f81)
- Nullclient demo was not deallocating libpurple resources properly.
This patch adds a call to purple.core.destroy() method which can
handle this.
Signed-off-by: Anderson Briglia <anderson.briglia@openbossa.org>
account.set_enabled(True)
while True:
account.set_enabled(True)
while True:
- core.iterate_main_loop()
- time.sleep(0.01)
+ try:
+ core.iterate_main_loop()
+ time.sleep(0.01)
+ except KeyboardInterrupt:
+ core.destroy()
+ break