handle in_isr correctly in disableIRQ
improve _native_sig_leave_tramp