Bug 226445

Summary: Drop PendingActivity data member from BaseAudioContext
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Web AudioAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, darin, eric.carlson, ews-watchlist, ggaren, glenn, jer.noble, peng.liu6, philipj, sam, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Chris Dumez
Reported 2021-05-30 19:25:36 PDT
Drop PendingActivity data member from BaseAudioContext and instead have AudioContext / OfflineAudioContext override virtualHasPendingActivity() to keep their JS wrapper alive. I find that PendingActivity data members are too error prone and a frequent cause of leaks.
Attachments
Patch (10.19 KB, patch)
2021-05-30 19:27 PDT, Chris Dumez
no flags
Patch (10.18 KB, patch)
2021-05-30 19:29 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2021-05-30 19:27:28 PDT
Chris Dumez
Comment 2 2021-05-30 19:29:03 PDT
EWS
Comment 3 2021-05-31 17:08:27 PDT
Committed r278288 (238325@main): <https://commits.webkit.org/238325@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 430164 [details].
Radar WebKit Bug Importer
Comment 4 2021-05-31 17:09:17 PDT
Note You need to log in before you can comment on or make changes to this bug.