File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -5977,10 +5977,6 @@ procedure ReleaseThreadReference(Tree: TBaseVirtualTree);
5977
5977
// Make sure there is no reference remaining to the releasing tree.
5978
5978
Tree.InterruptValidation;
5979
5979
5980
- // Borland change (used to debug shutdown issue with dangling FCurrentTree reference)
5981
- Assert(WorkerThread.FCurrentTree <> Tree, 'WorkerThread.FCurrentTree dangling reference!');
5982
-
5983
-
5984
5980
if WorkerThread.FRefCount = 0 then
5985
5981
begin
5986
5982
with WorkerThread do
@@ -6127,7 +6123,6 @@ procedure TWorkerThread.AddTree(Tree: TBaseVirtualTree);
6127
6123
finally
6128
6124
FWaiterList.UnlockList;
6129
6125
end;
6130
- CancelValidation(Tree);
6131
6126
end;
6132
6127
6133
6128
//----------------------------------------------------------------------------------------------------------------------
@@ -6143,6 +6138,7 @@ procedure TWorkerThread.RemoveTree(Tree: TBaseVirtualTree);
6143
6138
finally
6144
6139
FWaiterList.UnlockList;
6145
6140
end;
6141
+ CancelValidation(Tree);
6146
6142
end;
6147
6143
6148
6144
//----------------- TBufferedAnsiString ------------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments