mirror of
https://github.com/codex-storage/deluge.git
synced 2025-03-01 11:30:43 +00:00
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..."
|
||||
deluge_core.quit()
|
||||
|
||||
#kill dbus on windows
|
||||
if platform.system() == "Windows":
|
||||
import os
|
||||
os.popen4('tskill.exe dbus-daemon.exe')
|
||||
|
||||
def pickle_state(self):
|
||||
# Pickle the state so if we experience a crash, the latest state is
|
||||
# available
|
||||
|
Loading…
x
Reference in New Issue
Block a user