소스 검색

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

Sven/Sarah Barth 2 년 전
부모
커밋
e774a6275c
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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