DescriptionFix crash during EmbeddedWorkerInstance startup sequence failures
Once EWInstance startup calls the callback, it's possible that the
underlying ServiceWorkerVersion is destroyed, hence destroying
|this|. We must guard against that.
Also some failure points in the startup sequence weren't calling
OnStopped() as expected.
BUG=529520, 531345
Committed: https://crrev.com/37b83877e63f62f8aebb337494f1116539182bdf
Cr-Commit-Position: refs/heads/master@{#349368}
Patch Set 1 #Patch Set 2 : added unittests #
Total comments: 4
Patch Set 3 : comments #Patch Set 4 : fix asan #
Total comments: 3
Messages
Total messages: 14 (3 generated)
|