* (4.8 branch) Synchronize with main svn up to version 208

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1135 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
blikblum
2010-01-23 23:40:33 +00:00
parent 45b83a0d09
commit 0e2297f00a

View File

@ -4992,10 +4992,6 @@ begin
// Make sure there is no reference remaining to the releasing tree. // Make sure there is no reference remaining to the releasing tree.
Tree.InterruptValidation; Tree.InterruptValidation;
// Borland change (used to debug shutdown issue with dangling FCurrentTree reference)
Assert(WorkerThread.FCurrentTree <> Tree, 'WorkerThread.FCurrentTree dangling reference!');
if WorkerThread.FRefCount = 0 then if WorkerThread.FRefCount = 0 then
begin begin
with WorkerThread do with WorkerThread do
@ -5143,7 +5139,6 @@ begin
finally finally
FWaiterList.UnlockList; FWaiterList.UnlockList;
end; end;
CancelValidation(Tree);
end; end;
//---------------------------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------------------------
@ -5159,6 +5154,7 @@ begin
finally finally
FWaiterList.UnlockList; FWaiterList.UnlockList;
end; end;
CancelValidation(Tree);
end; end;
//----------------- TBufferedUTF8String -------------------------------------------------------------------------------- //----------------- TBufferedUTF8String --------------------------------------------------------------------------------