[platform] moving SIGINT unblocking fix to the native launcher (IJPL-16533)

GitOrigin-RevId: c155fdc67baaafc634191dab9d9b45d1028c3929
This commit is contained in:
Roman Shevchenko
2024-04-17 22:02:31 +02:00
committed by intellij-monorepo-bot
parent ac4bfc4105
commit 3c0e2b03ee

View File

@@ -93,6 +93,8 @@ pub fn run_jvm_and_event_loop(jre_home: &Path, vm_options: Vec<String>, main_cla
// resetting stack overflow protection handler set by the runtime (`std/src/sys/unix/stack_overflow.rs`)
reset_signal_handler(libc::SIGBUS)?;
reset_signal_handler(libc::SIGSEGV)?;
// resetting interrupt handler masked when an IDE is launched in a particularly perverse way
reset_signal_handler(libc::SIGINT)?;
}
let jre_home = jre_home.to_owned();