Update upload_memory prior to saving state on shutdown.

This commit is contained in:
Andrew Resch 2008-02-10 05:57:54 +00:00
parent 883ce6da4a
commit 587d5afda0
1 changed files with 4 additions and 4 deletions

View File

@ -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()