Stop double execution stop

This commit is contained in:
fullwall 2018-10-29 22:33:41 +08:00
parent 44ee5a2bfe
commit 0cbf22a944

View File

@ -288,10 +288,6 @@ public class CitizensNavigator implements Navigator, Runnable {
private void stopNavigating(CancelReason reason) {
if (!isNavigating())
return;
if (executing != null) {
executing.stop();
}
executing = null;
Iterator<NavigatorCallback> itr = localParams.callbacks().iterator();
while (itr.hasNext()) {
itr.next().onCompletion(reason);