Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Issue 2778743010: [Cronet] Leak CronetHttpProtocolHandlerDelegate on shutdown. (Closed)

Created:
3 years, 8 months ago by mef
Modified:
3 years, 8 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, ios-reviews_chromium.org, net-reviews_chromium.org, pzou_google.com
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Cronet] Leak CronetHttpProtocolHandlerDelegate on shutdown. Prevent crash if background threads are handling requests while main is exiting. BUG=706580 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester Review-Url: https://codereview.chromium.org/2778743010 Cr-Commit-Position: refs/heads/master@{#460904} Committed: https://chromium.googlesource.com/chromium/src/+/65d11a7c591307ff2d10145a07655b53010e04d0

Patch Set 1 #

Patch Set 2 : Removed shutdownForTesting and registered_ flag. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -6 lines) Patch
M components/cronet/ios/Cronet.mm View 1 3 chunks +8 lines, -6 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
mef
PTAL, this is a fix for Cronet crash on app shutdown on iOS. I was ...
3 years, 8 months ago (2017-03-29 22:44:36 UTC) #3
kapishnikov
It looks that the solution is going to work for NSURLConnection-s and shared NSURLSession-s only. ...
3 years, 8 months ago (2017-03-30 17:23:02 UTC) #4
mef
On 2017/03/30 17:23:02, kapishnikov wrote: > It looks that the solution is going to work ...
3 years, 8 months ago (2017-03-30 20:18:09 UTC) #5
kapishnikov
lgtm
3 years, 8 months ago (2017-03-30 20:20:18 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2778743010/20001
3 years, 8 months ago (2017-03-30 21:03:24 UTC) #8
commit-bot: I haz the power
3 years, 8 months ago (2017-03-30 22:15:11 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/65d11a7c591307ff2d10145a0765...

Powered by Google App Engine
This is Rietveld 408576698