forked from I2P_Developers/i2p.i2p
(zzz) i2psnark: Save torrent completion status in i2psnark.config
This commit is contained in:
@@ -468,6 +468,8 @@ public class Snark
|
||||
pc.halt();
|
||||
Storage st = storage;
|
||||
if (st != null) {
|
||||
if (storage.changed)
|
||||
SnarkManager.instance().saveTorrentStatus(storage.getMetaInfo(), storage.getBitField());
|
||||
try {
|
||||
storage.close();
|
||||
} catch (IOException ioe) {
|
||||
|
||||
Reference in New Issue
Block a user