mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-11 07:19:20 +00:00
Improved shutting down procedure
This commit is contained in:
@ -47,7 +47,7 @@ void KernelMainThread()
|
||||
KPrint("Initializing Network Interface Manager...");
|
||||
NIManager = new NetworkInterfaceManager::NetworkInterface;
|
||||
KPrint("Starting Network Interface Manager...");
|
||||
// NIManager->StartService();
|
||||
NIManager->StartService();
|
||||
|
||||
KPrint("Setting up userspace...");
|
||||
|
||||
@ -91,10 +91,7 @@ Exit:
|
||||
|
||||
void KernelShutdownThread(bool Reboot)
|
||||
{
|
||||
delete NIManager;
|
||||
|
||||
if (DriverManager)
|
||||
DriverManager->UnloadAllDrivers();
|
||||
BeforeShutdown();
|
||||
|
||||
trace("Shutting Down/Rebooting...");
|
||||
if (Reboot)
|
||||
|
Reference in New Issue
Block a user