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

@ -1,3 +1,8 @@
2003-09-23 19:11 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTextContainer.m (-dealloc): Set the text container of
our text view, if any, to nil.
2003-09-22 Adam Fedor <fedor@gnu.org>
* Source/NSWindowController.m (-setWindow:): Set window's

View file

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