Skip to content

Commit

Permalink
Fix typo in comment (#783)
Browse files Browse the repository at this point in the history
Signed-off-by: Christophe Bedard <[email protected]>
  • Loading branch information
christophebedard authored May 29, 2024
1 parent eea42eb commit dc51768
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions launch/launch/actions/execute_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def __on_shutdown_process_event(
) -> Optional[LaunchDescription]:
typed_event = cast(ShutdownProcess, context.locals.event)
if not typed_event.process_matcher(self):
# this event whas not intended for this process
# this event was not intended for this process
return None
return self._shutdown_process(context, send_sigint=True)

Expand All @@ -313,7 +313,7 @@ def __on_signal_process_event(
) -> Optional[LaunchDescription]:
typed_event = cast(SignalProcess, context.locals.event)
if not typed_event.process_matcher(self):
# this event whas not intended for this process
# this event was not intended for this process
return None
if self.process_details is None:
raise RuntimeError('Signal event received before execution.')
Expand Down

0 comments on commit dc51768

Please sign in to comment.