servo / gecko-media

Firefox's media playback stack in a stand alone Rust crate
Mozilla Public License 2.0
6 stars 9 forks source link

Make sure GeckoMedia::shutdown doesn't have to start the media stack #69

Closed nox closed 6 years ago

nox commented 7 years ago

Given we do SENDER.lock(), the media stack get started when GeckoMedia::shutdown is called and the stack had never been started before.

philn commented 7 years ago

I can prepare a patch that would return early from GeckoMedia::Shutdown if the media stack hasn't been initialized. If this approach is "deemed" acceptable anyway...