소스 검색

Call MemoryManager.InitThread symmetrically to MemoryManager.DoneThread.

Rika Ichinose 1 개월 전
부모
커밋
29f00416d6
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      rtl/inc/thread.inc

+ 1 - 2
rtl/inc/thread.inc

@@ -42,10 +42,9 @@ Var
 {$ifndef HAS_MEMORYMANAGER}
         { initialize this thread's heap }
         InitHeapThread;
-{$else HAS_MEMORYMANAGER}
+{$endif ndef HAS_MEMORYMANAGER}
         if MemoryManager.InitThread <> nil then
           MemoryManager.InitThread();
-{$endif HAS_MEMORYMANAGER}
 {$ifdef FPC_HAS_FEATURE_WIDESTRINGS}
         if assigned(widestringmanager.ThreadInitProc) then
           widestringmanager.ThreadInitProc;