From aeb72e228357be1813be36699b0a4becf9d5bb25 Mon Sep 17 00:00:00 2001 From: Martin Graversen Date: Fri, 31 Jan 2020 23:47:50 +0100 Subject: [PATCH] :bug: ConnectTask restore interrupt flag --- .../java/io/graversen/minecraft/rcon/service/ConnectTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/graversen/minecraft/rcon/service/ConnectTask.java b/src/main/java/io/graversen/minecraft/rcon/service/ConnectTask.java index e0a9671..cd08a62 100644 --- a/src/main/java/io/graversen/minecraft/rcon/service/ConnectTask.java +++ b/src/main/java/io/graversen/minecraft/rcon/service/ConnectTask.java @@ -41,7 +41,7 @@ private void sleep() { try { Thread.sleep(connectOptions.getTimeBetweenRetries().toMillis()); } catch (InterruptedException e) { - // Nothing + Thread.currentThread().interrupt(); } } }