220221222223224225226227228229230
// Setup a callback if the queue is being waited on if (scriptEntry.shouldWaitFor()) { // Record the ScriptEntry final ScriptEntry se = scriptEntry; queue.callBack(new Runnable() { @Override public void run() { se.setFinished(true); } });