* heaptrc.pp: In case of early multithreading initialization, initialize all related items (namely, main_relo_todolist), not just the critical section. main_relo_todolist is used later without assigned checks, and it is also used as a flag to destroy the critical section.

git-svn-id: trunk@17937 -
This commit is contained in:
sergei 2011-07-05 08:49:24 +00:00
parent cdcabe3ee4
commit d11d08af73

View File

@ -1350,7 +1350,7 @@ begin
must be initialized already here
}
if IsMultithread then
initcriticalsection(todo_lock);
TraceRelocateHeap;
end;
procedure TraceExit;