fix very theoretical incorrect ordering issue

This commit is contained in:
mcrcortex
2025-06-23 21:30:43 +10:00
parent c1091acc6b
commit b8ede978c2

View File

@@ -96,8 +96,8 @@ public class ServiceSlice extends TrackedObject {
Logger.error("Tried to do work on a dead service: " + this.name, new Throwable());
return;
}
this.jobCount.release();
this.jobCount2.incrementAndGet();
this.jobCount.release();
this.threadPool.execute(this);
}