summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xplugins/telepathy-gabble-xmpp-console6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/telepathy-gabble-xmpp-console b/plugins/telepathy-gabble-xmpp-console
index 8b96469d8..731929ba1 100755
--- a/plugins/telepathy-gabble-xmpp-console
+++ b/plugins/telepathy-gabble-xmpp-console
@@ -347,7 +347,11 @@ plugin installed.""" % locals()
self.connect('destroy', Window.__destroy_cb)
def __destroy_cb(self):
- self.snoopy.teardown()
+ try:
+ self.snoopy.teardown()
+ except GLib.GError, e:
+ print "Couldn't turn off the monitor (maybe the connection went away?)"
+ print e
Gtk.main_quit()
GABBLE_PREFIX = 'org.freedesktop.Telepathy.Connection.gabble.jabber.'