DescriptionDeclaring the weak_ptr_factory in proper order.
Cleaning up weak_ptr_factory destruction order.
WeakPtrFactory should remain the last member so it'll be destroyed and
invalidate its weak pointers before any other members are destroyed.
BUG=303818
Committed: https://crrev.com/0139e0db513ef473efe0d13c64d76b2c4baf6599
Cr-Commit-Position: refs/heads/master@{#291885}
Patch Set 1 #
Total comments: 1
Patch Set 2 : added the entry in AUTHORS file #
Total comments: 1
Patch Set 3 : incorporated the 'nit' comment #
Messages
Total messages: 14 (0 generated)
|