Call _cleanup before _exit

This commit is contained in:
ceriel
1991-03-15 09:24:03 +00:00
parent adab058c34
commit f4691c73c4
3 changed files with 8 additions and 5 deletions

View File

@@ -71,6 +71,7 @@ _SYSTEM__NEWPROCESS(p, a, n, p1)
Just call the coroutine procedure.
*/
(*(curproc->proc))();
_cleanup();
_exit(0);
}
}