Skip to content

Commit ca72bc5

Browse files
committed
Ignore queue interruptions during reload
1 parent 4924b5d commit ca72bc5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/main/java/com/laytonsmith/core/functions/ExecutionQueue.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ public Object call() throws Exception {
8383
return null;
8484
}
8585
});
86+
} catch(InterruptedException ex) {
87+
// ignore
8688
} catch(Exception ex) {
8789
Logger.getLogger(ExecutionQueue.class.getName()).log(Level.SEVERE, null, ex);
8890
}
@@ -163,6 +165,8 @@ public Object call() throws Exception {
163165
return null;
164166
}
165167
});
168+
} catch(InterruptedException ex) {
169+
// ignore
166170
} catch(Exception ex) {
167171
Logger.getLogger(ExecutionQueue.class.getName()).log(Level.SEVERE, null, ex);
168172
}

0 commit comments

Comments
 (0)