To reproduce:
- Add several RadRichTextEditors to a form.
- Change the icon of the FontPropertiesDialog.
- Close the form and force the garbage collector.
Workaround:
protected override void OnClosing(CancelEventArgs e)
{
base.OnClosing(e);
foreach (var item in this.Controls)
{
var rte = item as RadRichTextEditor;
if (rte != null)
{
((FontPropertiesDialog)rte.RichTextBoxElement.FontPropertiesDialog).Dispose();
}
}
}