Сritical fix. (#24)

This commit is contained in:
Zaxar163 2018-09-26 18:42:52 +03:00 committed by zaxar163
parent a5ff883ed4
commit 5cc0d86492

View file

@ -60,15 +60,14 @@ public void downloadFile() throws IOException {
writed.set(writed_local);
LogHelper.debug("Downloaded %d", writed_local);
if (interrupt.get()) {
interrupted.set(true);
break;
}
}
}
LogHelper.debug("Downloaded %d", writed_local);
writed.set(writed_local);
interrupted.set(true);
}
interrupted.set(true);
}
@Override