Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
atsushi421 authored Oct 19, 2023
1 parent 75b1f61 commit b285b1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ros2caret/verb/record.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,13 +223,13 @@ def _fini():
node.stop_progress()
node.end()
if clock_recorder:
// cspell: ignore killpg, getpgid
# cspell: ignore killpg, getpgid
os.killpg(os.getpgid(clock_recorder.pid), signal.SIGTERM)
print('stopping & destroying tracing session')
lttng.lttng_fini(session_name=args.session_name)

if args.record_clock:
// cspell: ignore preexec, setpgrp
# cspell: ignore preexec, setpgrp
clock_recorder = subprocess.Popen(
['ros2', 'run', 'caret_trace', 'clock_recorder'],
preexec_fn=os.setpgrp)
Expand Down

0 comments on commit b285b1b

Please sign in to comment.