fix(kernel): crash on ACPI shutdown/reboot

The deletion of DriverManager invalidates "DriverManager->GlobalKeyboardInputReports" which results in a crash if other processes are waiting for keyboard input.

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
2025-03-06 13:38:42 +00:00
parent 793ccfd5ba
commit b4cc1d9e66
2 changed files with 5 additions and 9 deletions

View File

@ -187,6 +187,8 @@ namespace Driver
void FreeMemory(dev_t DriverID, void *Pointer, size_t Pages);
Manager();
private:
~Manager();
};