fix very theoretical incorrect ordering issue
This commit is contained in:
@@ -96,8 +96,8 @@ public class ServiceSlice extends TrackedObject {
|
|||||||
Logger.error("Tried to do work on a dead service: " + this.name, new Throwable());
|
Logger.error("Tried to do work on a dead service: " + this.name, new Throwable());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.jobCount.release();
|
|
||||||
this.jobCount2.incrementAndGet();
|
this.jobCount2.incrementAndGet();
|
||||||
|
this.jobCount.release();
|
||||||
this.threadPool.execute(this);
|
this.threadPool.execute(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user