summaryrefslogtreecommitdiffstats
path: root/runtime/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/io.c')
-rw-r--r--runtime/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/io.c b/runtime/io.c
index dd4a9036..cf178951 100644
--- a/runtime/io.c
+++ b/runtime/io.c
@@ -116,7 +116,7 @@ void _stp_warn (const char *fmt, ...)
*/
void _stp_exit (void)
{
- schedule_work (&stp_exit);
+ _stp_exit_flag = 1;
}
/** Prints error message and exits.