Skip to content

Commit 44140ac

Browse files
committed
Fixed ignored thread interruption during shutdown.
Signed-off-by: Phil Hunt <phil.hunt@independentid.com>
1 parent 4673719 commit 44140ac

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

i2scim-signals/src/main/java/com/independentid/signals/PushStream.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@ public boolean pushEvent(SecurityEventToken event) {
7272
i++;
7373
try {
7474
Thread.sleep(1000);
75-
} catch (InterruptedException ignore) {
75+
} catch (InterruptedException e) {
76+
logger.warn("Interrupted while waiting for push endpoint configuration");
77+
Thread.currentThread().interrupt();
78+
return false;
7679
}
7780
if (i == 30) {
7881
logger.error("Continuing to wait for push endpoint configuration...");

0 commit comments

Comments
 (0)