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

Do not panic across FFI boundaries #115

Open nox opened 6 years ago

nox commented 6 years ago

Any Rust code executed on the C++ side should be wrapped in std::panic::catch_unwind and the panic shouldn't go across the Rust/C++ boundary.