mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-18 13:59:47 +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;
|
||||
end;
|
||||
{ Disable heaptrc memory manager to avoid problems }
|
||||
GetMemoryManager(PrevMemoryManager);
|
||||
SetMemoryManager(PrevMemoryManager);
|
||||
move_heap_info(@orphaned_info, @heap_info);
|
||||
dumpheap;
|
||||
if heap_info.error_in_heap and (exitcode=0) then
|
||||
|
Loading…
Reference in New Issue
Block a user