From 5cc0d864926f7f179c68864cc5abe5284e35414b Mon Sep 17 00:00:00 2001 From: Zaxar163 <35835496+Zaxar163@users.noreply.github.com> Date: Wed, 26 Sep 2018 18:42:52 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1ritical=20fix.=20(#24)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/ru/gravit/utils/downloader/Downloader.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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