summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKA
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-08-22 16:37:16 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-08-22 16:37:16 +0200
commitb843322161bec86e707c45962ce9b7b76b0d1826 (patch)
treeee03bdb316dcc746c0f700724f8d0f37fe3065e6 /dev/ZKA
parent3e8b39cf8492239e777655eaa5d75a3710b89531 (diff)
[FIX] Don't stop the system when the only process of a team is killed.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/ZKA')
-rw-r--r--dev/ZKA/Sources/ProcessScheduler.cxx7
1 files changed, 0 insertions, 7 deletions
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);
}