Note
This commit is contained in:
@@ -179,6 +179,7 @@ public class AsyncNodeManager {
|
||||
|
||||
private void run() {
|
||||
if (this.workCounter.get() <= 0) {
|
||||
//TODO: here, instead of parking, we can do more work on other sub-tasks such as filtering the mesh build queue
|
||||
LockSupport.park();
|
||||
if (this.workCounter.get() <= 0 || !this.running) {//No work
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user