mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
If we fire the error event synchronously within the on_error callback, then we'll end up destroying the PlaybackManager inside its own callback and crash. Instead, queue a task to execute the error steps. This could happen with or without MSE, but I observed it occurring on YouTube with MSE when we hit a decoding error, since they immediately try another source when an error is reported.
1.8 KiB
1.8 KiB