[iOS] No longer necessary to end notification center observation on dealloc. |
||
Issue descriptionAs of iOS9, it is no longer an error for an object observing NSNotifications to deallocate. Thus, any calls to [[NSNotificationCenter defaultCenter] removeObserver:self] in -dealloc methods in iOS Chrome code (which is only running on iOS10+) can be removed. In many cases, this call is the only reason to have a -dealloc implementation at all.
,
Mar 29 2018
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Jan 3 2018