Skip to content

Commit c41d2e1

Browse files
committed
bind the remove mapping handler when passing it to command executor
1 parent b8e2734 commit c41d2e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/robotlegs/bender/extensions/signalCommandMap/impl/SignalCommandTrigger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class SignalCommandTrigger implements ICommandTrigger {
5858
);
5959
this._executor = new CommandExecutor(
6060
injector,
61-
this._mappings.removeMapping
61+
this._mappings.removeMapping.bind(this._mappings)
6262
);
6363
}
6464

0 commit comments

Comments
 (0)