mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-16 09:41:42 +00:00
Disable interrupts on Reboot / Shutdown buttons
This commit is contained in:
@@ -286,13 +286,13 @@ namespace Recovery
|
||||
|
||||
void RebootCommandThread()
|
||||
{
|
||||
TaskManager->Sleep(1000);
|
||||
CriticalSection cs;
|
||||
PowerManager->Reboot();
|
||||
}
|
||||
|
||||
void ShutdownCommandThread()
|
||||
{
|
||||
TaskManager->Sleep(1000);
|
||||
CriticalSection cs;
|
||||
PowerManager->Shutdown();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user