repl: do not crash on async op reject (#3527)

This commit is contained in:
Kevin (Kun) "Kassimo" Qian 2019-12-19 21:04:14 -08:00 committed by Ry Dahl
parent fcae4a7c0d
commit 9ef0b18eb0
7 changed files with 56 additions and 9 deletions

View file

@ -220,7 +220,7 @@ pub fn mksnapshot_bundle_ts(
}
fn write_snapshot(
runtime_isolate: Isolate,
mut runtime_isolate: Isolate,
bundle: &Path,
) -> Result<(), ErrBox> {
println!("creating snapshot...");