mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 21:37:39 +00:00
Clear the text container of our text view in -dealloc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17707 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4ecf1a67d3
commit
6a27a1f90e
2 changed files with 7 additions and 1 deletions
|
@ -112,7 +112,8 @@ use bounds rectangle instead of frame? */
|
|||
[nc removeObserver: self
|
||||
name: NSViewFrameDidChangeNotification
|
||||
object: _textView];
|
||||
|
||||
|
||||
[_textView setTextContainer: nil];
|
||||
RELEASE(_textView);
|
||||
}
|
||||
[super dealloc];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue