From b843322161bec86e707c45962ce9b7b76b0d1826 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 22 Aug 2024 16:37:16 +0200 Subject: [FIX] Don't stop the system when the only process of a team is killed. Signed-off-by: Amlal El Mahrouss --- dev/ZKA/Sources/ProcessScheduler.cxx | 7 ------- 1 file changed, 7 deletions(-) (limited to 'dev') diff --git a/dev/ZKA/Sources/ProcessScheduler.cxx b/dev/ZKA/Sources/ProcessScheduler.cxx index 3fb82067..902a3c42 100644 --- a/dev/ZKA/Sources/ProcessScheduler.cxx +++ b/dev/ZKA/Sources/ProcessScheduler.cxx @@ -47,13 +47,6 @@ namespace Kernel kcout << (*this->Name == 0 ? "UNKNOWN" : this->Name) << ": crashed. (id = " << number(kErrorProcessFault); kcout << ")\r"; - if (Kernel::ProcessScheduler::The().Leak().CurrentTeam().AsArray().Count() < 1) - { - kcout << "newoskrnl: Terminating as we are the only process...\r"; - - ke_stop(RUNTIME_CHECK_PROCESS); - } - this->Exit(kErrorProcessFault); } -- cgit v1.2.3