mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 12:04:51 +00:00
Update upload_memory prior to saving state on shutdown.
This commit is contained in:
parent
883ce6da4a
commit
587d5afda0
1 changed files with 4 additions and 4 deletions
|
@ -318,6 +318,10 @@ class Manager:
|
|||
pass
|
||||
|
||||
def quit(self):
|
||||
# save upload memory
|
||||
print "Saving uploaded memory..."
|
||||
self.save_upmem()
|
||||
|
||||
# Pickle the state
|
||||
self.pickle_state()
|
||||
|
||||
|
@ -335,10 +339,6 @@ class Manager:
|
|||
print "Saving fastresume data..."
|
||||
self.save_fastresume_data()
|
||||
|
||||
# save upload memory
|
||||
print "Saving uploaded memory..."
|
||||
self.save_upmem()
|
||||
|
||||
# Shutdown torrent core
|
||||
print "Quitting the core..."
|
||||
deluge_core.quit()
|
||||
|
|
Loading…
Add table
Reference in a new issue