From dd9c8e1a6dc56c4e970d3b318ffa3f4b692d74d7 Mon Sep 17 00:00:00 2001 From: Zaxar163 <35835496+Zaxar163@users.noreply.github.com> Date: Wed, 26 Sep 2018 18:38:06 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1ritical=20fix.?= 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