Only call sig handler in switch, not after EINTR.

This commit is contained in:
4lDO2
2024-02-09 09:57:18 +01:00
parent 6bf8238fb1
commit 0cf2ce632a
-4
View File
@@ -293,10 +293,6 @@ pub fn syscall(
}
}
if result == Err(Error::new(EINTR)) {
crate::context::signal::signal_handler();
}
if debug {
let debug_duration = crate::time::monotonic() - debug_start;