DescriptionServiceWorker: Release a reference when it fails to dispatch ExtendableMessageEvent
This CL makes sure to release a reference to ServiceWorkerHandle that was
supposed to be sent to the destination.
Note: ExtendableMessageEvent is still behind a flag and resource leaks due to
this have not happened in release builds.
BUG=543198
Committed: https://crrev.com/f6da9a0a7eb3a919aa29749017321c9bae8bfa8b
Cr-Commit-Position: refs/heads/master@{#382455}
Patch Set 1 : #
Total comments: 3
Patch Set 2 : reduce duplicate code #
Total comments: 6
Patch Set 3 : address review comments #Patch Set 4 : fix build failures #Messages
Total messages: 33 (19 generated)
|