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
|
pass
|
||||||
|
|
||||||
def quit(self):
|
def quit(self):
|
||||||
|
# save upload memory
|
||||||
|
print "Saving uploaded memory..."
|
||||||
|
self.save_upmem()
|
||||||
|
|
||||||
# Pickle the state
|
# Pickle the state
|
||||||
self.pickle_state()
|
self.pickle_state()
|
||||||
|
|
||||||
|
@ -335,10 +339,6 @@ class Manager:
|
||||||
print "Saving fastresume data..."
|
print "Saving fastresume data..."
|
||||||
self.save_fastresume_data()
|
self.save_fastresume_data()
|
||||||
|
|
||||||
# save upload memory
|
|
||||||
print "Saving uploaded memory..."
|
|
||||||
self.save_upmem()
|
|
||||||
|
|
||||||
# Shutdown torrent core
|
# Shutdown torrent core
|
||||||
print "Quitting the core..."
|
print "Quitting the core..."
|
||||||
deluge_core.quit()
|
deluge_core.quit()
|
||||||
|
|
Loading…
Reference in New Issue