Chromium Code Reviews
DescriptionMojo C++ bindings: reduce references to AssociatedGroupController.
If an interface doesn't pass associated kinds, there is no need to store a ref to AssociatedGroupController in the serialization context.
That shouldn't have any effect on the interface pointer side, because all those references will be cleared when pipe disconnection happens or the interface pointer is destroyed. However on the binding side, if we don't do this, as long as someone holds on the any method callback given to the impl, the AssociatedGroupController will be kept alive.
BUG=651103
Committed: https://crrev.com/3fa6ea22828a127d5ee91afe01553531f0932880
Cr-Commit-Position: refs/heads/master@{#431353}
Patch Set 1 #Patch Set 2 : . #
Messages
Total messages: 13 (8 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||