fix (scheduler): fixed PF when pausing the running thread

This commit is contained in:
antifallobst 2023-05-02 00:43:01 +02:00
parent d493ebc64f
commit 18a0fc3eb7
1 changed files with 2 additions and 2 deletions

View File

@ -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) {