thread: fix release of proc refcounts on multithreaded applications

This commit is contained in:
Samuel Stuart
2026-07-07 17:09:55 -03:00
committed by Matheus
parent 7beb93c8e5
commit 57879f48da
+2 -1
View File
@@ -96,8 +96,9 @@ __attribute__((noreturn)) void sched_threadexit() {
proc_exit();
mm_destroy_context(oldctx);
PROC_RELEASE(proc);
}
PROC_RELEASE(proc);
}
interrupt_set(false);