DescriptionFix threading races on WebAudioSourceProviderImpl::provideInput
Fix threading races on WebAudioSourceProviderImpl::provideInput
According to the crash report (https://cluster-fuzz.appspot.com/testcase?key=4697390229487616),
there is a threading race. Specifically, WebAudioSourceProviderImpl can be destructed by the main thread while WebAudioSourceProviderImpl::Stop() is being called by the audio thread.
The core problem is that we're not calling WebAudioSourceProviderImpl::setClient(NULL) when HTMLMediaElement clears the audio source provider.
BUG=284786
No tests because the crash depends on threading races and thus not reproducible.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157259
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|