Преглед изворни кода

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;