DescriptionNetworkService: Destroy NetworkContexts on NetworkService teardown.
Also fix NetworkContexts potentially not being destroyed on connection
error / consumer teardown, due to calling str::move twice on the same
RequestPtr.
This is a reland of https://codereview.chromium.org/2962693002,
which was reverted in https://codereview.chromium.org/2960843005/ due
to a conflict with https://codereview.chromium.org/2951813002/. The
solution was to add a base::test::ScopedTaskEnvironment to the tests.
BUG=736472
Review-Url: https://codereview.chromium.org/2963823002
Cr-Commit-Position: refs/heads/master@{#483225}
Committed: https://chromium.googlesource.com/chromium/src/+/502a6133a5974683b23edab936d6b480dcd7684e
Patch Set 1 : Original CL #Patch Set 2 : Add ScopedTaskEnvironment #
Messages
Total messages: 22 (18 generated)
|