Set delegate of NSTextView to nil in dealloc.

This commit is contained in:
Fred Kiefer 2024-03-26 22:53:44 +01:00
parent a054b21355
commit c12fdd26f7

View file

@ -1142,6 +1142,7 @@ that makes decoding and encoding compatible with the old code.
[notificationCenter removeObserver: _delegate
name: nil
object: _notifObject];
_delegate = nil;
}
DESTROY(_selectedTextAttributes);