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

Issue 8855009: Abort in-flight load tasks if the DB has been closed. (Closed)

Created:
9 years ago by erikwright (departed)
Modified:
9 years ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, wtc, Randy Smith (Not in Mondays), darin-cc_chromium.org, rkn, guohui, marja
Visibility:
Public.

Description

Abort in-flight load tasks if the DB has been closed. I suspect that the crashes reported in M17 are because the SQLitePersistentCookieStore is closed while it was still loading. This CL adds checks that should abort all tasks that access db_, if db_ is NULL. R=rdsmith@chromium.org BUG=106722 TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113498

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -3 lines) Patch
M chrome/browser/net/sqlite_persistent_cookie_store.cc View 3 chunks +8 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
erikwright (departed)
9 years ago (2011-12-07 21:01:06 UTC) #1
Randy Smith (Not in Mondays)
LGTM. (I debated asking for a comment as to why the LoadKeyAndNotifyOnDBThread->LoadCookiesForDomains path was safe, ...
9 years ago (2011-12-07 21:12:06 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erikwright@chromium.org/8855009/1
9 years ago (2011-12-07 21:16:58 UTC) #3
erikwright (departed)
On 2011/12/07 21:12:06, rdsmith wrote: > LGTM. (I debated asking for a comment as to ...
9 years ago (2011-12-07 21:17:36 UTC) #4
commit-bot: I haz the power
9 years ago (2011-12-07 23:10:14 UTC) #5
Change committed as 113498

Powered by Google App Engine
This is Rietveld 408576698