You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lifetime of pending processor construction data and exceptions in instantiation of AudioWorkletProcessor when AudioWorkletProcessor() constructor is not invoked
#2119
Closed
karlt opened this issue
Jan 10, 2020
· 1 comment
· Fixed by #2306
I assume that steps to "Empty the pending processor construction data slot" and "queue a task to the control thread to fire an event named processorerror" should be moved from the AudioWorkletProcessor() constructor to the instantiation of AudioWorkletProcessor algorithm?
Some more details are in #2096, but perhaps all the details there occluded the core of the issue.
The text was updated successfully, but these errors were encountered:
The instantiation of AudioWorkletProcessor algorithm sets the node reference and transferred port of the AudioWorkletGlobalScope's pending processor construction data.
Only the AudioWorkletProcessor() constructor arranges for this data to be cleared, but "Construct a callback function" in the instantiation of AudioWorkletProcessor does not necessarily invoke the AudioWorkletProcessor() constructor.
I assume that steps to "Empty the pending processor construction data slot" and "queue a task to the control thread to fire an event named processorerror" should be moved from the AudioWorkletProcessor() constructor to the instantiation of AudioWorkletProcessor algorithm?
Some more details are in #2096, but perhaps all the details there occluded the core of the issue.
The text was updated successfully, but these errors were encountered: