From 5b4137824198b46ef3f2e5f0f7d349a811968e1e Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Thu, 28 Jan 2010 03:17:50 +0000 Subject: [PATCH] add a missing removeObserver: to the message window controller MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit the last commit ensured that the drag overlay window resized when not window, which led to inaccurate sizes when exposé-d --- macosx/MessageWindowController.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/macosx/MessageWindowController.m b/macosx/MessageWindowController.m index 0330b1e6b..3e119eb99 100644 --- a/macosx/MessageWindowController.m +++ b/macosx/MessageWindowController.m @@ -50,6 +50,8 @@ - (void) dealloc { + [[NSNotificationCenter defaultCenter] removeObserver: self]; + [fTimer invalidate]; [fLock release];