[Webkit-unassigned] [Bug 95757] New: AudioContext is never destructed.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 4 10:41:50 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=95757
Summary: AudioContext is never destructed.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Web Audio
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: podivilov at chromium.org
CC: abarth at webkit.org, kbr at google.com, crogers at google.com
I just noticed that V8AudioContext::constructorCallback in V8AudioContextCustom.cpp leaks the pointer to AudioContext.
Shouldn't it also call V8DOMWrapper::setJSWrapperForActiveDOMObject to deref AudioContext in JS wrapper weak callback? Looks like currently all AudioContexts live forever.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list