mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-15 22:54:00 +00:00
Merge pull request #769 from lioncash/cond
thread: Fix a conditional check in Reschedule
This commit is contained in:
commit
9f503387dc
1 changed files with 1 additions and 1 deletions
|
@ -495,7 +495,7 @@ void Reschedule() {
|
|||
LOG_TRACE(Kernel, "context switch %u -> %u", cur->GetObjectId(), next->GetObjectId());
|
||||
} else if (cur) {
|
||||
LOG_TRACE(Kernel, "context switch %u -> idle", cur->GetObjectId());
|
||||
} else {
|
||||
} else if (next) {
|
||||
LOG_TRACE(Kernel, "context switch idle -> %u", next->GetObjectId());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue