From 0f626a0b4fa81a549637cad900712beb46d16f00 Mon Sep 17 00:00:00 2001 From: Henrik Karlsson Date: Wed, 23 Oct 2024 12:13:38 +0200 Subject: [PATCH] Fixes bug when using sync() --- kernel/src/syscall.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/src/syscall.c b/kernel/src/syscall.c index 4ef9472..57dce90 100644 --- a/kernel/src/syscall.c +++ b/kernel/src/syscall.c @@ -231,7 +231,6 @@ proc_t *handle_sync(proc_t *const p, const sys_args_t *args) // otherwise only update memory. if (args->sync.full) { p->timeout = 0; - proc_release(p); return NULL; } proc_pmp_sync(p);