Skip to content

Commit e67e874

Browse files
joachimmardermodersohn
authored andcommitted
Fix for issue JAM-Software#1001: Prevent potential AV seen in unit test project.
1 parent 4f9d189 commit e67e874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/VirtualTrees.WorkerThread.pas

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ procedure TWorkerThread.Execute();
171171
if Assigned(lCurrentTree) then
172172
begin
173173
try
174-
TBaseVirtualTreeCracker(lCurrentTree).ChangeTreeStatesAsync([tsValidating], [tsUseCache, tsValidationNeeded]);
175174
FCurrentTree := lCurrentTree;
175+
TBaseVirtualTreeCracker(lCurrentTree).ChangeTreeStatesAsync([tsValidating], [tsUseCache, tsValidationNeeded]);
176176
EnterStates := [];
177177
if not (tsStopValidation in FCurrentTree.TreeStates) and TBaseVirtualTreeCracker(FCurrentTree).DoValidateCache then
178178
EnterStates := [tsUseCache];

0 commit comments

Comments
 (0)