forked from sanyaade-mobiledev/chromium.src
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ServiceWorker] Refactor the codes for releasing the resources for st…
…reaming in ServiceWorkerURLRequestJob. As michaeln@ mentioned in https://codereview.chromium.org/832813002/, Kill() may not be called and provider_host_ may be deleted before Kill() is called. So this change - adds streaming_version_ property to ServiceWorkerURLRequestJob. - adds ClearStream() method to releases the resources for streaming. - calls ClearStream() from both Kill() and the destructor. BUG=445775 Review URL: https://codereview.chromium.org/844913002 Cr-Commit-Position: refs/heads/master@{#310944}
- Loading branch information
Showing
2 changed files
with
27 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters