mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-07 16:49:10 +00:00
Merge pull request #301 from Parabot/bugfix/thread-redirect-isInterrupted
[BUGFIX] Added Thread#isInterrupted redirect
This commit is contained in:
@@ -61,4 +61,8 @@ public class ThreadRedirect {
|
|||||||
public static void setUncaughtExceptionHandler(Thread t, Thread.UncaughtExceptionHandler handler) {
|
public static void setUncaughtExceptionHandler(Thread t, Thread.UncaughtExceptionHandler handler) {
|
||||||
t.setUncaughtExceptionHandler(handler);
|
t.setUncaughtExceptionHandler(handler);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static boolean isInterrupted(Thread thread) {
|
||||||
|
return thread.isInterrupted();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user