Commit 0c30c969 authored by igor-suhorukov's avatar igor-suhorukov Committed by Andy Wilkinson

Mark thread as interrupted after catching InterruptedException

Closes gh-11784
parent d1dc8cb7
...@@ -253,6 +253,7 @@ public class ImageBanner implements Banner { ...@@ -253,6 +253,7 @@ public class ImageBanner implements Banner {
Thread.sleep(delay); Thread.sleep(delay);
} }
catch (InterruptedException ex) { catch (InterruptedException ex) {
Thread.currentThread().interrupt();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment