Commit b24dd950 authored by Juha Manninen's avatar Juha Manninen
Browse files

AnchorDocking: Don't free AnchorDockPageControl too early. Prevent AV. Issues #32342,#32591,#31895.

git-svn-id: trunk@56143 -
parent bdb1578f
......@@ -4731,7 +4731,7 @@ procedure TAnchorDockHostSite.DoDock(NewDockSite: TWinControl; var ARect: TRect)
begin
inherited DoDock(NewDockSite, ARect);
if DockMaster <> nil then
DockMaster.SimplifyPendingLayouts;
DockMaster.QueueSimplify:=True; // Async call to SimplifyPendingLayouts;
end;
procedure TAnchorDockHostSite.SetParent(NewParent: TWinControl);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment