DescriptionEliminate use of 'delete self' pattern in AttachmentUploaderImpl.
Prior to this change UploadState objects would synchronously notify
AttachmentUploaderImpl that they were done and could be deleted. This
meant they were still on the call stack when their destructor was
invoked. While it worked, it was subtle and might lead to bugs in the
future.
BUG=
Committed: https://crrev.com/58c7a2f84240aa23775167f9df91b7dbed66e3d6
Cr-Commit-Position: refs/heads/master@{#294218}
Patch Set 1 #Patch Set 2 : Merge with master. #
Messages
Total messages: 7 (2 generated)
|