Descriptionmac: Fix a dangling delegate bug with MCPopupController.
Due to the odd implementation of MCPopupController, all the clean up happens in
-close rather than -dealloc. In all instances but one, the owner would destroy
MCPopupController by calling -close or -closeWithAnimation. There was one
instance where the owner was calling -release, which was preventing
MCPopupController from properly cleaning up.
BUG=423001
Committed: https://crrev.com/79865bb014b5f6a3a6adcca850ff2b61cfc2bbe0
Cr-Commit-Position: refs/heads/master@{#313316}
Patch Set 1 #Patch Set 2 : Add a DCHECK. #
Total comments: 2
Patch Set 3 : Comments from avi, round two. #
Messages
Total messages: 12 (3 generated)
|