You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// TODO: use drop guard, that waits on child in order to prevent printing to stdout of the child
the program needs a drop guard for cases, when the main program dies (e.g. it was killed with Ctrl+C). The current behavior is, that the program exits, but the valgrind child-process remains alive and prints to the standard output of the main process.
The text was updated successfully, but these errors were encountered:
This is the codified version of #36, just with a SIGKILL instead of the
mentioned SIGING (or SIGTERM). It is unclear, if the tool could even be-
have sane with SIGKILL, but this is the only thing available in the Rust
standard library. The test currently fails and thus shows that the issue
is reproducible.
As noted in this line:
cargo-valgrind/src/main.rs
Line 99 in 2da5213
the program needs a drop guard for cases, when the main program dies (e.g. it was killed with
Ctrl+C
). The current behavior is, that the program exits, but the valgrind child-process remains alive and prints to the standard output of the main process.The text was updated successfully, but these errors were encountered: