mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix race when the exception was thrown from inside FJP computation but the future wasn't canceled yet to fix JobUtilTest sporadic failures
GitOrigin-RevId: cda7a3de89a5fa695b7b1978c8b16d0e98692287
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c54b13f901
commit
3a5df2bf07
@@ -172,6 +172,7 @@ public class JobLauncherImpl extends JobLauncher {
|
||||
complete(null); // complete manually before calling callback
|
||||
}
|
||||
catch (Throwable throwable) {
|
||||
myStatus = Status.EXECUTED;
|
||||
completeExceptionally(throwable);
|
||||
}
|
||||
finally {
|
||||
|
||||
Reference in New Issue
Block a user