mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PCE
This commit is contained in:
+4
-2
@@ -83,8 +83,10 @@ public abstract class PassExecutorService implements Disposable {
|
||||
if (waitForTermination) {
|
||||
for (Job<Void> job : mySubmittedPasses.values()) {
|
||||
try {
|
||||
JobImpl ji = (JobImpl)job;
|
||||
if (!job.isDone()) ji.waitForTermination();
|
||||
if (job instanceof JobImpl) {
|
||||
JobImpl ji = (JobImpl)job;
|
||||
if (!job.isDone()) ji.waitForTermination();
|
||||
}
|
||||
}
|
||||
catch (Throwable throwable) {
|
||||
LOG.error(throwable);
|
||||
|
||||
Reference in New Issue
Block a user