summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2024-10-25 23:04:17 -0500
committerDanny Holman <dholman@gymli.org>2024-10-25 23:04:17 -0500
commit42bbbe9185019df04c6aaa05ba4e815bb2a1ab67 (patch)
tree892506ac47f5b15f430f6f226d032c86f61aeb5e
parent298afc6f3ad30afbb62759d5f188540244f22fe3 (diff)
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 <dholman@gymli.org>
-rw-r--r--core/abort.c1
1 files changed, 1 insertions, 0 deletions
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);
}