UIKeyboardWillHideNotification event unregistration was missing

This commit is contained in:
ylecollen 2015-01-27 15:42:04 +01:00
parent 0935f80fc1
commit 922ffad02f

View file

@ -325,6 +325,7 @@ NSString *const kCmdResetUserPowerLevel = @"/deop";
membersListener = nil;
}
[[NSNotificationCenter defaultCenter] removeObserver:self name:UIKeyboardWillHideNotification object:nil];
[[NSNotificationCenter defaultCenter] removeObserver:self name:UIKeyboardWillShowNotification object:nil];
[[NSNotificationCenter defaultCenter] removeObserver:self name:UIApplicationDidEnterBackgroundNotification object:nil];
}