i2psnark:

- Fix announce hosts of the form b64dest[.i2p]
- Add last activity stat
- Disallow illegal filenames on Windows
- cleanups and log tweaks
This commit is contained in:
zzz
2019-08-01 20:20:44 +00:00
parent e3481f6730
commit 8158753dac
6 changed files with 150 additions and 54 deletions

View File

@@ -656,10 +656,10 @@ public class Snark
ioe.printStackTrace();
}
savedUploaded = nowUploaded;
if (changed && completeListener != null)
completeListener.updateStatus(this);
// TODO should save comments at shutdown even if never started...
// SnarkManager.stopAllTorrents() will save comments at shutdown even if never started...
if (completeListener != null) {
if (changed)
completeListener.updateStatus(this);
synchronized(_commentLock) {
if (_comments != null) {
synchronized(_comments) {