Detroying TAdvRichEditor invokes OnChange event

Not cool. ;)


When freeing my form, I also free a frame which has a TAdvRichEditor on it with an OnChange event assigned.  The TAdvRichEditor's OnChange event enables my [Apply] button on the form (not the frame), but since the form is now freed (via FreeAndNil), the frame can't access the [Apply] button of the form (access violation).

I can code around this, but if you can avoid the TAdvRichEditor invoking the OnChange event when being destroyed would be nice.

TAdvRichEditor  1.7.5.0
Delphi 10.3.3

Stack:
Frame.Email.TFrameEmail.EnableBtnApply(True)
Frame.Email.TFrameEmail.reEmailBodyChange(S83E52E0)
AdvRichEditorBase.TAdvRichEditorBase.DoChanged
AdvRichEditorBase.TAdvRichEditorBase.Clear
AdvRichEditorBase.TAdvRichEditorBase.Destroy
AdvRichEditor.TAdvRichEditor.Destroy
Vcl.Controls.TWinControl.Destroy
Vcl.Controls.TCustomControl.Destroy
Vcl.Controls.TWinControl.Destroy
Vcl.Forms.TScrollingWinControl.Destroy
Vcl.Controls.TWinControl.Destroy
Vcl.ComCtrls.TCustomTabControl.Destroy
Vcl.Controls.TWinControl.Destroy
Vcl.Controls.TCustomControl.Destroy
Vcl.Controls.TWinControl.Destroy
Vcl.Forms.TScrollingWinControl.Destroy
Vcl.Forms.TCustomForm.Destroy
System.TObject.Free

Thanks for reporting.
We could trace and solve this problem. We can confirm this will be addressed in the next update.