mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-11 15:29:18 +00:00
Fixing null pointer access
This commit is contained in:
@ -79,7 +79,12 @@ namespace Recovery
|
||||
}
|
||||
}
|
||||
|
||||
void RecoveryThreadWrapper() { RecoveryScreen->RecoveryThread(); }
|
||||
void RecoveryThreadWrapper()
|
||||
{
|
||||
while (!RecoveryScreen)
|
||||
CPU::Pause();
|
||||
RecoveryScreen->RecoveryThread();
|
||||
}
|
||||
|
||||
void RebootCommandThread()
|
||||
{
|
||||
|
Reference in New Issue
Block a user