Don't throw when loom was unable to stop the worker, as it may have already been stopped by Gradle.

This commit is contained in:
modmuss50
2024-06-13 22:14:37 +01:00
parent ed8ca12c53
commit eacd6fbc5f

View File

@@ -553,7 +553,7 @@ public abstract class GenerateSourcesTask extends AbstractLoomTask {
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?");
}
}
}