Update upload_memory prior to saving state on shutdown.
This commit is contained in:
parent
883ce6da4a
commit
587d5afda0
|
@ -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…
Reference in New Issue