Skip to content

Commit

Permalink
Comment fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
twright committed Nov 20, 2024
1 parent 725adfa commit 7c83d28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_ros_input_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ fn dummy_publisher<T: WrappedTypesupport + 'static>(
.unwrap();

async move {
// Cancellation token for managing the lifetime of the background thread
// Cancellation token for managing the lifetime of the background task
let cancellation_token = CancellationToken::new();

// Create a drop guard to ensure the background thread is not dropped
// Create a drop guard to ensure the background task is not dropped
// until we are done
let _drop_guard = cancellation_token.clone().drop_guard();

Expand Down

0 comments on commit 7c83d28

Please sign in to comment.