parent
ceab446409
commit
e2907983d1
1 changed files with 8 additions and 0 deletions
|
@ -183,6 +183,14 @@ pub fn monitor_main_thread_hangs(
|
|||
installation_id: Option<String>,
|
||||
cx: &AppContext,
|
||||
) {
|
||||
// This is too noisy to ship to stable for now.
|
||||
if !matches!(
|
||||
ReleaseChannel::global(cx),
|
||||
ReleaseChannel::Dev | ReleaseChannel::Nightly | ReleaseChannel::Preview
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
use nix::sys::signal::{
|
||||
sigaction, SaFlags, SigAction, SigHandler, SigSet,
|
||||
Signal::{self, SIGUSR2},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue