Skip to content

Commit a1d9ce4

Browse files
QuentinLBchris-smith
authored andcommitted
Fix error on action cancellation (#139)
Use `_clientInterface` instead of `_actionClient`.
1 parent 6b3bcbe commit a1d9ce4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/actions/ClientGoalHandle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class ClientGoalHandle extends EventEmitter {
8383
return;
8484
}
8585

86-
this._actionClient.cancel(this._goal.goal_id.id, { secs: 0, nsecs: 0 });
86+
this._clientInterface.cancel(this._goal.goal_id.id, { secs: 0, nsecs: 0 });
8787
this._transition(CommState.WAITING_FOR_CANCEL_ACK);
8888
}
8989

0 commit comments

Comments
 (0)