Skip to content

Commit

Permalink
Don't throw when loom was unable to stop the worker, as it may have a…
Browse files Browse the repository at this point in the history
…lready been stopped by Gradle.
  • Loading branch information
modmuss50 committed Jun 13, 2024
1 parent ed8ca12 commit eacd6fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ private void doWork(@Nullable IPCServer ipcServer, Path inputJar, Path outputJar
boolean stopped = WorkerDaemonClientsManagerHelper.stopIdleJVM(getWorkerDaemonClientsManager(), jvmMarkerValue);

if (!stopped && ipcServer.hasReceivedMessage()) {
throw new RuntimeException("Failed to stop decompile worker JVM");
LOGGER.info("Failed to stop decompile worker JVM, it may have already been stopped?");
}
}
}
Expand Down

0 comments on commit eacd6fb

Please sign in to comment.