Called before the window gets closed or the application get terminated to clean some contents
Source position: MUIClass.Area.pas line 116
protected procedure TMUIArea.BeforeCloseWindow; override;