mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
Fixing null pointer access
This commit is contained in:
parent
eb93510e53
commit
102da7b7ec
@ -79,7 +79,12 @@ namespace Recovery
|
||||
}
|
||||
}
|
||||
|
||||
void RecoveryThreadWrapper() { RecoveryScreen->RecoveryThread(); }
|
||||
void RecoveryThreadWrapper()
|
||||
{
|
||||
while (!RecoveryScreen)
|
||||
CPU::Pause();
|
||||
RecoveryScreen->RecoveryThread();
|
||||
}
|
||||
|
||||
void RebootCommandThread()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user