fixed small bug with unloading

This commit is contained in:
JohnDoee
2015-11-21 20:29:42 +01:00
parent 5859a19e0e
commit 1d31efa48c

View File

@@ -132,8 +132,8 @@ class GtkUI(GtkPluginBase):
torrentmenu = component.get("MenuBar").torrentmenu
file_menu.remove(self.item_torrentmenu)
file_menu.remove(self.sep_torrentmenu)
torrentmenu.remove(self.item_torrentmenu)
torrentmenu.remove(self.sep_torrentmenu)
self.site.stopFactory()
yield self.listening.stopListening()