mirror of
https://git.deluge-torrent.org/deluge
synced 2025-09-21 08:58:33 +00:00
Fix #565 wait for the deluged process to start to prevent defunct
processes
This commit is contained in:
parent
1fbf983ff6
commit
dd86ac9bcc
2 changed files with 64 additions and 61 deletions
|
@ -3,6 +3,9 @@ Deluge 1.0.4 (In Development)
|
|||
* Fix #560 force an int value for global max connections
|
||||
* Fix #545 use proper values in ratio calculation
|
||||
|
||||
GtkUI:
|
||||
* Fix #565 wait for the deluged process to start to prevent defunct processes
|
||||
|
||||
Deluge 1.0.3 (18 October 2008)
|
||||
Core:
|
||||
* Fix upnp - it should work on more routers now too
|
||||
|
|
|
@ -130,7 +130,7 @@ class ConnectionManager(component.Component):
|
|||
if deluge.common.windows_check():
|
||||
win32api.WinExec("deluged -p 58846")
|
||||
else:
|
||||
subprocess.Popen(["deluged", "-p 58846"])
|
||||
subprocess.call(["deluged", "-p 58846"])
|
||||
time.sleep(0.1)
|
||||
# We need to wait for the host to start before connecting
|
||||
while not self.test_online_status(uri):
|
||||
|
@ -165,7 +165,7 @@ class ConnectionManager(component.Component):
|
|||
if deluge.common.windows_check():
|
||||
win32api.WinExec("deluged -p %s" % port)
|
||||
else:
|
||||
subprocess.Popen(["deluged", "-p %s" % port])
|
||||
subprocess.call(["deluged", "-p %s" % port])
|
||||
# We need to wait for the host to start before connecting
|
||||
while not self.test_online_status(uri):
|
||||
time.sleep(0.01)
|
||||
|
@ -440,7 +440,7 @@ class ConnectionManager(component.Component):
|
|||
if deluge.common.windows_check():
|
||||
win32api.WinExec("deluged -p %s" % port)
|
||||
else:
|
||||
subprocess.Popen(["deluged", "-p %s" % port])
|
||||
subprocess.call(["deluged", "-p %s" % port])
|
||||
|
||||
def on_button_close_clicked(self, widget):
|
||||
log.debug("on_button_close_clicked")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue