mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
cleanup and kill dbus-daemon on close when in win32
This commit is contained in:
parent
63501ebe5b
commit
116c79ba3f
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue