diff --git a/libLauncher/src/main/java/ru/gravit/utils/downloader/Downloader.java b/libLauncher/src/main/java/ru/gravit/utils/downloader/Downloader.java index 83edb2ec..f6d32b05 100644 --- a/libLauncher/src/main/java/ru/gravit/utils/downloader/Downloader.java +++ b/libLauncher/src/main/java/ru/gravit/utils/downloader/Downloader.java @@ -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