瀏覽代碼

* remove finalizeheap from threaddone, the heapmanager is not per thread in 2.2.x

git-svn-id: branches/fixes_2_2@8727 -
peter 18 年之前
父節點
當前提交
7fd1567c38
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      rtl/inc/thread.inc

+ 0 - 3
rtl/inc/thread.inc

@@ -47,9 +47,6 @@ Var
         if assigned(widestringmanager.ThreadFiniProc) then
           widestringmanager.ThreadFiniProc;
 {$endif FPC_HAS_FEATURE_WIDESTRINGS}
-{$ifndef HAS_MEMORYMANAGER}
-        FinalizeHeap;
-{$endif HAS_MEMORYMANAGER}
         CurrentTM.ReleaseThreadVars;
       end;