Have core save the config file on shutdown.

This commit is contained in:
Andrew Resch 2007-09-23 23:30:46 +00:00
parent e47e7920cc
commit 10632476ce
1 changed files with 2 additions and 0 deletions

View File

@ -156,6 +156,8 @@ class Core(dbus.service.Object):
del self.torrents
self.plugins.shutdown()
del self.plugins
# Make sure the config file has been saved
self.config.save()
del self.config
del deluge.configmanager
del self.session