Descriptionmojo: make NetworkServiceImpl clean up after itself
Each URLLoaderImpl created by NetworkServiceImpl can allocate a net::URLRequest.
When shutting down the app, destruction of the NetworkContext and the
URLRequestContext within it expects that all net::URLRequest resources have been
freed by now (it CHECKs). NetworkService is an app like any other and can't make
any assumptions about when it is being destroyed relative to other apps in the
system that may have been using it, so the safest thing to do is to have it
gracefully tear-down in-progress URLLoaders.
Note: the only reason we're not seeing the CHECK happen is because things
shut down (the process terminates) before we even get to ~URLRequestContext.
I'll be repairing shutdown in an upcoming CL.
BUG=394477
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284777
Patch Set 1 : #Patch Set 2 : review #
Total comments: 1
Patch Set 3 : scoping #Messages
Total messages: 12 (0 generated)
|