Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upEnsure background-hang-monitor exits before constellation #24850
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
code:
components/background_hang_monitor.This component currently runs until script drops it's sender to it, which could be after the constellation exits, so that could add to the "(bad) threads running after exit" count.
Instead, the constellation could share a clone of a
IpcSender<()>with each monitor, keep a singleIpcReceiver<()>, and as part of exit, receive on it until all senders have dropped.