]> granicus.if.org Git - transmission/commitdiff
add a missing removeObserver: to the message window controller
authorMitchell Livingston <livings124@transmissionbt.com>
Thu, 28 Jan 2010 03:17:50 +0000 (03:17 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Thu, 28 Jan 2010 03:17:50 +0000 (03:17 +0000)
the last commit ensured that the drag overlay window resized when not window, which led to inaccurate sizes when exposé-d

macosx/MessageWindowController.m

index 0330b1e6bcd48c4298fb44b7e7fef2be71588ebf..3e119eb997ab36872d8fa2b6b0d97a818c059a0b 100644 (file)
@@ -50,6 +50,8 @@
 
 - (void) dealloc
 {
+    [[NSNotificationCenter defaultCenter] removeObserver: self];
+    
     [fTimer invalidate];
     [fLock release];