From 42bbbe9185019df04c6aaa05ba4e815bb2a1ab67 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Fri, 25 Oct 2024 23:04:17 -0500 Subject: core: call the system exit function when aborting During an abort procedure, the system's exit function should be called to terminate the running application. Signed-off-by: Danny Holman --- core/abort.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/abort.c b/core/abort.c index 08f9d1c..edc7d29 100644 --- a/core/abort.c +++ b/core/abort.c @@ -32,4 +32,5 @@ void rune_abort(void) { log_output(LOG_INFO, "Abort called, printing stack trace"); _stack_trace(); rune_exit(); + exit(-1); } -- cgit v1.2.3