mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 04:18:48 +02:00
IDE: SourceSynEdit: prevent event from being called in destroy
This commit is contained in:
parent
10344c6439
commit
43697a5086
@ -1841,6 +1841,7 @@ end;
|
||||
|
||||
destructor TIDESynEditor.Destroy;
|
||||
begin
|
||||
ViewedTextBuffer.RemoveChangeHandler(senrHighlightChanged, @DoHighlightChanged);
|
||||
HighlightUserWordCount := 0;
|
||||
Highlighter := nil;
|
||||
FreeAndNil(FUserWordsList);
|
||||
|
Loading…
Reference in New Issue
Block a user