Anchordocking: TDockMaster instance is very optimistic about own lifetime. Replacing DockMaster leaves non-existent handlers
Crash in FormShow which breaks event handling (called the TMethod of object already destroyed)
What did you expect
No crash. I would like to replace dockmaster with new instance (instances)
Steps to reproduce
Replace or destroy dockmaster after some forms shown previously. I.e. dockmaster register on itself form handler, but never releases. I understand - dockmaster is intended to be last object in application, but it is not my case.
Related to #38556.