Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Finomnis committed Jan 21, 2025
1 parent 339cf44 commit 9579773
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ where

// Retrieve the handle that was passed into the subsystem.
// Originally it was intended to pass the handle as reference, but due
// to complications (https://stackoverflow.com/questions/77172947/async-lifetime-issues-of-pass-by-reference-parameters)
// it was decided to pass ownership instead.
// to complications (https://stackoverflow.com/a/70592053/2902833 and
// https://github.com/tokio-rs/tokio/issues/3162) it was decided to
// pass ownership instead.
//
// It is still important that the handle does not leak out of the subsystem.
let subsystem_handle = match redirected_subsystem_handle.try_recv() {
Expand Down

0 comments on commit 9579773

Please sign in to comment.