From: Mitchell Livingston Date: Thu, 28 Jan 2010 03:17:50 +0000 (+0000) Subject: add a missing removeObserver: to the message window controller X-Git-Tag: 1.83~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5b4137824198b46ef3f2e5f0f7d349a811968e1e;p=transmission add a missing removeObserver: to the message window controller the last commit ensured that the drag overlay window resized when not window, which led to inaccurate sizes when exposé-d --- 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];