what was i THINKING
This commit is contained in:
parent
5f721b544e
commit
01c0e321b5
@ -135,7 +135,6 @@ public final class PathingBehavior extends Behavior implements IPathingBehavior,
|
|||||||
) {
|
) {
|
||||||
// when it was *just* started, currentBest will be empty so we need to also check calcFrom since that's always present
|
// when it was *just* started, currentBest will be empty so we need to also check calcFrom since that's always present
|
||||||
inProgress.cancel(); // cancellation doesn't dispatch any events
|
inProgress.cancel(); // cancellation doesn't dispatch any events
|
||||||
inProgress = null; // this is safe since we hold both locks
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user