tooltips touchupfix the problem where torrents disappear after an improper shutdown - andar
This commit is contained in:
parent
d4db41078b
commit
a074ef17ce
|
@ -696,6 +696,11 @@ class Manager:
|
||||||
|
|
||||||
if no_space:
|
if no_space:
|
||||||
self.apply_queue()
|
self.apply_queue()
|
||||||
|
# Pickle the state so if we experience a crash, the latest state is available
|
||||||
|
print "Pickling state..."
|
||||||
|
output = open(os.path.join(self.base_dir, STATE_FILENAME), 'wb')
|
||||||
|
pickle.dump(self.state, output)
|
||||||
|
output.close()
|
||||||
|
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue