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:
Alexander Malmberg 2003-09-23 17:13:20 +00:00
parent 4ecf1a67d3
commit 6a27a1f90e
2 changed files with 7 additions and 1 deletions

View file

@ -112,7 +112,8 @@ use bounds rectangle instead of frame? */
[nc removeObserver: self
name: NSViewFrameDidChangeNotification
object: _textView];
[_textView setTextContainer: nil];
RELEASE(_textView);
}
[super dealloc];