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

Issue 864943003: Dispose of MIDIAccessInitializer on contextDestroyed() notification. (Closed)

Created:
5 years, 10 months ago by sof
Modified:
5 years, 10 months ago
Reviewers:
oilpan-reviews, haraken
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Dispose of MIDIAccessInitializer on contextDestroyed() notification. If a contextDestroyed() notification is issued, dispose of the MIDIAccessInitializer then. With Oilpan enabled, this can be the last opportunity to dispose via the ExecutionContext, as the weak reference to the context may well have been cleared by the time the prefinalizer runs. R=haraken BUG=420515 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189204

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -0 lines) Patch
M Source/modules/webmidi/MIDIAccessInitializer.h View 1 chunk +3 lines, -0 lines 0 comments Download
M Source/modules/webmidi/MIDIAccessInitializer.cpp View 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
sof
Please take a look. Not particularly satisfying, but I don't see a way to avoid ...
5 years, 10 months ago (2015-01-29 16:47:17 UTC) #2
haraken
LGTM. Ideally we should unregister the prefinalizer when contextDestroyed is called, but we cannot do ...
5 years, 10 months ago (2015-01-29 16:55:32 UTC) #4
sof
On 2015/01/29 16:55:32, haraken wrote: > LGTM. > > Ideally we should unregister the prefinalizer ...
5 years, 10 months ago (2015-01-29 17:00:39 UTC) #5
haraken
> > Ideally we should unregister the prefinalizer when contextDestroyed is called, > > but ...
5 years, 10 months ago (2015-01-29 17:02:02 UTC) #6
sof
On 2015/01/29 17:02:02, haraken wrote: > > > Ideally we should unregister the prefinalizer when ...
5 years, 10 months ago (2015-01-29 17:04:57 UTC) #7
haraken
On 2015/01/29 17:04:57, sof wrote: > On 2015/01/29 17:02:02, haraken wrote: > > > > ...
5 years, 10 months ago (2015-01-29 17:06:45 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/864943003/1
5 years, 10 months ago (2015-01-29 17:08:00 UTC) #10
commit-bot: I haz the power
5 years, 10 months ago (2015-01-29 18:30:55 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=189204

Powered by Google App Engine
This is Rietveld 408576698