From ca431adcf2ec69bbde0c1b2917a5af118cf5e638 Mon Sep 17 00:00:00 2001 From: Martin Date: Tue, 19 Mar 2024 22:13:54 +0100 Subject: [PATCH] FpDebug, test: disable thread check on Linux. Not required, and currently not fully implemented --- components/fpdebug/fpdbgcommon.pas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/fpdebug/fpdbgcommon.pas b/components/fpdebug/fpdbgcommon.pas index ab81946782..74ef013cec 100644 --- a/components/fpdebug/fpdbgcommon.pas +++ b/components/fpdebug/fpdbgcommon.pas @@ -73,8 +73,10 @@ var procedure AssertFpDebugThreadId(const AName: String); begin +{$IFnDEF LINUX} if FCurrentFpDebugThreadIdValidForAssert then assert(GetCurrentThreadId = FCurrentFpDebugThreadIdForAssert, AName); +{$ENDIF} end; procedure AssertFpDebugThreadIdNotMain(const AName: String);