mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-15 22:54:00 +00:00
Kernel: Correct pending feedback.
This commit is contained in:
parent
b9472eae44
commit
a1bf353780
1 changed files with 4 additions and 3 deletions
|
@ -530,10 +530,11 @@ SchedulerLockAndSleep::SchedulerLockAndSleep(KernelCore& kernel, Handle& event_h
|
||||||
}
|
}
|
||||||
|
|
||||||
SchedulerLockAndSleep::~SchedulerLockAndSleep() {
|
SchedulerLockAndSleep::~SchedulerLockAndSleep() {
|
||||||
if (!sleep_cancelled) {
|
if (sleep_cancelled) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
auto& time_manager = kernel.TimeManager();
|
auto& time_manager = kernel.TimeManager();
|
||||||
time_manager.ScheduleTimeEvent(event_handle, time_task, nanoseconds);
|
time_manager.ScheduleTimeEvent(event_handle, time_task, nanoseconds);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace Kernel
|
} // namespace Kernel
|
||||||
|
|
Loading…
Reference in a new issue