Summary: | AudioContext is not correctly accounting for hardware resources | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Rogers <crogers> | ||||
Component: | New Bugs | Assignee: | Chris Rogers <crogers> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | kbr | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Chris Rogers
2011-07-26 16:04:03 PDT
Created attachment 102071 [details]
Patch
It turns out that the global ref-count is only decremented if the AudioContext::lazyInitialize() has been previously called. So we need to move the increment (and hardware initialization) properly into the lazyInitialize() method... Comment on attachment 102071 [details]
Patch
Looks fine as long as it's been tested.
Committed r91801: <http://trac.webkit.org/changeset/91801> |