From 058ab72c4d4dcc1ff1207c381cc45cb3191e45e5 Mon Sep 17 00:00:00 2001 From: Evan Schoenberg Date: Fri, 12 Jan 2007 19:01:57 +0000 Subject: [PATCH] (self != [self window]), so the observer was never removed. This was a crash caused by the patch applied in [18670] and [18671]... my fault, since I reviewed it and didn't catch the mistake. git-svn-id: svn://svn.adiumx.com/adium/branches/adium-1.0@18697 1c916fce-81e2-0310-a464-8ca513f45935 --- Source/KNShelfSplitView.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/KNShelfSplitView.m b/Source/KNShelfSplitView.m index f2d3589af..5b7cb1b66 100644 --- a/Source/KNShelfSplitView.m +++ b/Source/KNShelfSplitView.m @@ -106,7 +106,9 @@ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMA if( actionButtonImage ){ [actionButtonImage release]; } if( shelfBackgroundColor ){ [shelfBackgroundColor release]; } if( contextButtonMenu ){ [contextButtonMenu release]; } - [[NSNotificationCenter defaultCenter] removeObserver:self name:NSWindowDidResizeNotification object:self]; + + [[NSNotificationCenter defaultCenter] removeObserver:self]; + [super dealloc]; } -- 2.11.4.GIT