Commits

Lucian Brănescu-Mihăilă  committed a71e96e

Connects, but never exits. twisted reactor should probably be explicitly stopped.

  • Participants
  • Parent commits 8133b3e

Comments (0)

Files changed (1)

     def _activate_cb(self, widget):
         irc_factory = IRCFactory(self._summary)
         reactor.connectTCP('irc.freenode.net', 6667, irc_factory)
+        reactor.run()
 
 if __name__ == "__main__":
     app = Irk()
-    #app.run(None)
-    reactor.run()
+    app.run(None)
 
     #irc_factory = IRCFactory(Gtk.ListStore(str))
     #reactor.connectTCP('irc.freenode.net', 6667, irc_factory)