Skip to content

Commit

Permalink
Remove unneeded ptrace_detach
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle committed Aug 19, 2024
1 parent 45568e6 commit 11618a4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/linux/ptrace_dumper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,7 @@ impl PtraceDumper {

// Signals other than SIGSTOP that are received need to be reinjected,
// or they will otherwise get lost.
// Note that the breakpad code doesn't do a detach, but that
// feels like a bug...
if let Err(err) = ptrace::cont(pid, status) {
ptrace_detach(child)?;
return Err(DumperError::WaitPidError(child, err));
}
}
Expand Down

0 comments on commit 11618a4

Please sign in to comment.