[Webkit-unassigned] [Bug 192586] New: [WebAudio] Call AudioContext::uninitialize() immediately when the AudioContext is stopped

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 11 06:16:56 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=192586

            Bug ID: 192586
           Summary: [WebAudio] Call AudioContext::uninitialize()
                    immediately when the AudioContext is stopped
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media Elements
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bandou.yacine at gmail.com
                CC: calvaris at igalia.com, jer.noble at apple.com,
                    olivier.blin at softathome.com, pnormand at igalia.com,
                    tsaunier at gnome.org

When WebProcess is killed, AudioContext::uninitialize() is not called immediately in the stop so the AudioDestinationNode is not destroyed.

In my case, I have a resource device manager, the output audio device is reserved when AudioDestinationNode is instantiated and it is released when AudioDestinationNode is destroyed, thus when the webprocess is killed, the resources leak. 

AudioContext::uninitialize() is not called immediately since commit baa073da82c04c74a501c8c8a513a2d50195dff8 from 2011.
This modification can now be reverted without regression in WebAudio tests.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181211/430cac28/attachment-0001.html>


More information about the webkit-unassigned mailing list