From a2347cde0a5e7bcdb76152efa1033204d725dbfa Mon Sep 17 00:00:00 2001 From: Star1xr <166748405+Star1xr@users.noreply.github.com> Date: Fri, 15 May 2026 13:58:24 +0300 Subject: [PATCH] Update threadtools.inl --- public/tier0/threadtools.inl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/tier0/threadtools.inl b/public/tier0/threadtools.inl index 1935b213..1eff4092 100644 --- a/public/tier0/threadtools.inl +++ b/public/tier0/threadtools.inl @@ -321,7 +321,8 @@ INLINE_ON_PS3 void CThread::Stop(int exitCode) } else { - throw exitCode; + pthread_exit((void*)(intptr_t)exitCode); + } #else AssertMsg( false, "Called CThread::Stop() for a platform that doesn't have it!\n");