mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 09:28:41 +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..."
|
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…
Add table
Add a link
Reference in a new issue