mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-21 05:09:31 +02:00
Fix typo in last commit: to disable TraceManager, call SetMemoryManager with saved PrevMemoryManager variable
git-svn-id: trunk@34399 -
This commit is contained in:
parent
5dc55b362d
commit
cb5f540eb9
@ -1478,7 +1478,7 @@ begin
|
|||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
{ Disable heaptrc memory manager to avoid problems }
|
{ Disable heaptrc memory manager to avoid problems }
|
||||||
GetMemoryManager(PrevMemoryManager);
|
SetMemoryManager(PrevMemoryManager);
|
||||||
move_heap_info(@orphaned_info, @heap_info);
|
move_heap_info(@orphaned_info, @heap_info);
|
||||||
dumpheap;
|
dumpheap;
|
||||||
if heap_info.error_in_heap and (exitcode=0) then
|
if heap_info.error_in_heap and (exitcode=0) then
|
||||||
|
Loading…
Reference in New Issue
Block a user