diff --git a/src/proc/scheduler.c b/src/proc/scheduler.c index ef85f8c..b85751e 100644 --- a/src/proc/scheduler.c +++ b/src/proc/scheduler.c @@ -93,8 +93,8 @@ void scheduler_queue_remove_thread(thread_T* thread) { thread->global_prev->global_next = thread->global_next; thread->global_next->global_prev = thread->global_prev; - thread->global_prev = NULL; - thread->global_next = NULL; +// thread->global_prev = NULL; +// thread->global_next = NULL; } thread_T* scheduler_register_thread(thread_T* thread) {