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

Issue 2525443002: [IndexedDB] Delete callbacks state on worker thread exit. (Closed)

Created:
4 years, 1 month ago by Reilly Grant (use Gerrit)
Modified:
4 years, 1 month ago
Reviewers:
jsbell
CC:
chromium-reviews, cmumford, darin-cc_chromium.org, jam, jsbell+idb_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[IndexedDB] Delete callbacks state on worker thread exit. During refactoring of r430110 the logic to actually delete the internal state of IndexedDBCallbacksImpl and IndexedDBDatabaseCallbacksImpl objects that lives on worker threads was accidentally removed. BUG=667465 Committed: https://crrev.com/ff03e42e8773445a9ee1649dbcbb5b4aae7c2567 Cr-Commit-Position: refs/heads/master@{#433707}

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -10 lines) Patch
M content/child/indexed_db/indexed_db_dispatcher.h View 2 chunks +12 lines, -4 lines 1 comment Download
M content/child/indexed_db/indexed_db_dispatcher.cc View 1 chunk +10 lines, -6 lines 3 comments Download

Messages

Total messages: 18 (9 generated)
Reilly Grant (use Gerrit)
Please take a look.
4 years, 1 month ago (2016-11-21 21:58:12 UTC) #4
jsbell
https://codereview.chromium.org/2525443002/diff/1/content/child/indexed_db/indexed_db_dispatcher.cc File content/child/indexed_db/indexed_db_dispatcher.cc (right): https://codereview.chromium.org/2525443002/diff/1/content/child/indexed_db/indexed_db_dispatcher.cc#newcode206 content/child/indexed_db/indexed_db_dispatcher.cc:206: it->second.release(); Is the release() necessary? https://codereview.chromium.org/2525443002/diff/1/content/child/indexed_db/indexed_db_dispatcher.h File content/child/indexed_db/indexed_db_dispatcher.h (right): ...
4 years, 1 month ago (2016-11-21 22:38:06 UTC) #6
jsbell
Oops, meant to say: lgtm
4 years, 1 month ago (2016-11-21 22:38:17 UTC) #7
Reilly Grant (use Gerrit)
https://codereview.chromium.org/2525443002/diff/1/content/child/indexed_db/indexed_db_dispatcher.cc File content/child/indexed_db/indexed_db_dispatcher.cc (right): https://codereview.chromium.org/2525443002/diff/1/content/child/indexed_db/indexed_db_dispatcher.cc#newcode206 content/child/indexed_db/indexed_db_dispatcher.cc:206: it->second.release(); On 2016/11/21 at 22:38:06, jsbell wrote: > Is ...
4 years, 1 month ago (2016-11-21 23:26:10 UTC) #8
jsbell
still lgtm, especially now that I've engaged my brain. https://codereview.chromium.org/2525443002/diff/1/content/child/indexed_db/indexed_db_dispatcher.cc File content/child/indexed_db/indexed_db_dispatcher.cc (right): https://codereview.chromium.org/2525443002/diff/1/content/child/indexed_db/indexed_db_dispatcher.cc#newcode206 content/child/indexed_db/indexed_db_dispatcher.cc:206: ...
4 years, 1 month ago (2016-11-21 23:36:29 UTC) #9
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/2525443002/1
4 years, 1 month ago (2016-11-21 23:57:07 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-22 00:04:20 UTC) #15
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/ff03e42e8773445a9ee1649dbcbb5b4aae7c2567 Cr-Commit-Position: refs/heads/master@{#433707}
4 years, 1 month ago (2016-11-22 00:09:01 UTC) #17
piman
4 years, 1 month ago (2016-11-22 01:09:54 UTC) #18
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2521773003/ by piman@chromium.org.

The reason for reverting is: Likely cause of
storage/indexeddb/pending-version-change-stuck-works-with-terminate.html
crashes:
https://uberchromegw.corp.google.com/i/chromium.webkit/builders/WebKit%20Linu...
https://uberchromegw.corp.google.com/i/chromium.webkit/builders/WebKit%20Mac1....

Powered by Google App Engine
This is Rietveld 408576698