commit | 37b83877e63f62f8aebb337494f1116539182bdf | [log] [tgz] |
---|---|---|
author | falken <falken@chromium.org> | Thu Sep 17 07:14:03 2015 |
committer | Commit bot <commit-bot@chromium.org> | Thu Sep 17 07:15:14 2015 |
tree | 9dbc2341852a52b2f80776e1363116a3c1302335 | |
parent | 3d4471a97f9bf78a30474bfa87e0119ca28c3372 [diff] |
Fix 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 Review URL: https://codereview.chromium.org/1327723005 Cr-Commit-Position: refs/heads/master@{#349368}