cleanup and kill dbus-daemon on close when in win32
This commit is contained in:
parent
63501ebe5b
commit
116c79ba3f
@ -299,6 +299,11 @@ class Manager:
|
|||||||
print "Quitting the core..."
|
print "Quitting the core..."
|
||||||
deluge_core.quit()
|
deluge_core.quit()
|
||||||
|
|
||||||
|
#kill dbus on windows
|
||||||
|
if platform.system() == "Windows":
|
||||||
|
import os
|
||||||
|
os.popen4('tskill.exe dbus-daemon.exe')
|
||||||
|
|
||||||
def pickle_state(self):
|
def pickle_state(self):
|
||||||
# Pickle the state so if we experience a crash, the latest state is
|
# Pickle the state so if we experience a crash, the latest state is
|
||||||
# available
|
# available
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user