浏览代码

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;