Skip to content

Commit c179b83

Browse files
committed
Fix for issue #1245.
1 parent 7ba3d29 commit c179b83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/VirtualTrees.BaseTree.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2129,7 +2129,7 @@ destructor TBaseVirtualTree.Destroy();
21292129
end;// if
21302130
FOptions.InternalSetMiscOptions(FOptions.MiscOptions - [toReadOnly]); //SetMiscOptions has side effects
21312131
// Make sure there is no reference remaining to the releasing tree.
2132-
TWorkerThread.ReleaseThreadReference();
2132+
TWorkerThread.ReleaseThreadReference(IsLibrary); // see issue #1245
21332133
StopWheelPanning;
21342134
CancelEditNode;
21352135

0 commit comments

Comments
 (0)