mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
thread: fix release of proc refcounts on multithreaded applications
This commit is contained in:
@@ -96,8 +96,9 @@ __attribute__((noreturn)) void sched_threadexit() {
|
||||
|
||||
proc_exit();
|
||||
mm_destroy_context(oldctx);
|
||||
PROC_RELEASE(proc);
|
||||
}
|
||||
|
||||
PROC_RELEASE(proc);
|
||||
}
|
||||
|
||||
interrupt_set(false);
|
||||
|
||||
Reference in New Issue
Block a user