fix (scheduler): fixed PF when pausing the running thread
This commit is contained in:
parent
d493ebc64f
commit
18a0fc3eb7
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue