UIKeyboardWillHideNotification event unregistration was missing

This commit is contained in:
ylecollen 2015-01-27 15:42:04 +01:00
parent 96dae68712
commit b9b5c15683

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];
}