Explorar o código

* change Result of CheckSynchronize to true when at least one method was executed (matches with both FPC and Delphi documentation)

Sven/Sarah Barth %!s(int64=2) %!d(string=hai) anos
pai
achega
e774a6275c
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      rtl/objpas/classes/classes.inc

+ 2 - 0
rtl/objpas/classes/classes.inc

@@ -564,6 +564,8 @@ begin
   tmpentry := PopThreadQueueHead;
   while Assigned(tmpentry) do
     begin
+    { at least one method is handled, so return true }
+    result := true;
     { step 2: execute the method }
     exceptobj := Nil;
     try