diff --git a/xous-rs/src/syscall.rs b/xous-rs/src/syscall.rs index 4b593a52d..225ff5093 100644 --- a/xous-rs/src/syscall.rs +++ b/xous-rs/src/syscall.rs @@ -1318,8 +1318,9 @@ pub fn send_message(connection: CID, message: Message) -> core::result::Result ! { rsyscall(SysCall::TerminateProcess).expect("terminate_process returned an error"); + panic!("process didn't terminate"); } /// Return execution to the kernel. This function may return at any time,