wasm-bindgen/tests
Alex Crichton 542076d658 Protect against segfaults calling destroyed closures
This commit updates the drop glue generated for closures to simply
ignore null pointers. The drop glue can be called in erroneous
situations such as when a closure is invoked after it's been destroyed.
In these cases we don't want to segfault and/or corrupt memory but
instead let the normal error message from the invoke glue continue to
get propagated.

Closes #1526
2019-05-13 07:22:33 -07:00
..
crates cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
headless Add the anyref_heap_live_count function 2019-05-09 15:57:21 -07:00
no-std cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
wasm Protect against segfaults calling destroyed closures 2019-05-13 07:22:33 -07:00
non_wasm.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
std-crate-no-std-dep.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
unwrap_throw.rs Add the UnwrapThrowExt<T> trait 2019-01-31 13:26:21 -08:00