what was i THINKING

This commit is contained in:
Leijurv 2019-07-31 20:58:45 -07:00
parent 5f721b544e
commit 01c0e321b5
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -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
} }
} }
} }