mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 00:18:39 +00:00
Have core save the config file on shutdown.
This commit is contained in:
parent
e47e7920cc
commit
10632476ce
1 changed files with 2 additions and 0 deletions
|
@ -156,6 +156,8 @@ class Core(dbus.service.Object):
|
||||||
del self.torrents
|
del self.torrents
|
||||||
self.plugins.shutdown()
|
self.plugins.shutdown()
|
||||||
del self.plugins
|
del self.plugins
|
||||||
|
# Make sure the config file has been saved
|
||||||
|
self.config.save()
|
||||||
del self.config
|
del self.config
|
||||||
del deluge.configmanager
|
del deluge.configmanager
|
||||||
del self.session
|
del self.session
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue