mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
Fix deluge-gtk hanging on shutdown (for real this time)
This commit is contained in:
parent
9e4a92444b
commit
e5e43532d3
1 changed files with 2 additions and 2 deletions
|
@ -46,6 +46,7 @@ from deluge.ui.client import client
|
|||
import deluge.component as component
|
||||
from deluge.configmanager import ConfigManager
|
||||
from deluge.ui.gtkui.ipcinterface import process_args
|
||||
from twisted.internet import reactor
|
||||
|
||||
import deluge.common
|
||||
import common
|
||||
|
@ -152,7 +153,7 @@ class MainWindow(component.Component):
|
|||
return self.main_glade
|
||||
|
||||
def quit(self):
|
||||
gtk.main_quit()
|
||||
reactor.stop()
|
||||
|
||||
def load_window_state(self):
|
||||
x = self.config["window_x_pos"]
|
||||
|
@ -238,7 +239,6 @@ class MainWindow(component.Component):
|
|||
|
||||
def on_newversionavailable_event(self, new_version):
|
||||
if self.config["show_new_releases"]:
|
||||
from twisted.internet import reactor
|
||||
from deluge.ui.gtkui.new_release_dialog import NewReleaseDialog
|
||||
reactor.callLater(5.0, NewReleaseDialog().show, new_version)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue