mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-09 03:33:20 +00:00
script halt config, lib part commit
This commit is contained in:
@@ -81,7 +81,15 @@ public abstract class CancellableWorker<T> implements RunnableFuture<T> {
|
||||
|
||||
@Override
|
||||
public final boolean cancel(boolean mayInterruptIfRunning) {
|
||||
return future.cancel(mayInterruptIfRunning);
|
||||
boolean r = future.cancel(mayInterruptIfRunning);
|
||||
if (r) {
|
||||
workerCancelled();
|
||||
}
|
||||
return r;
|
||||
}
|
||||
|
||||
public void workerCancelled() {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user