diff --git a/Cargo.lock b/Cargo.lock index 085a2a95cb..7a8d2732c7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1061,9 +1061,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.74" +version = "0.2.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2f02823cf78b754822df5f7f268fb59822e7296276d3e069d8e8cb26a14bd10" +checksum = "755456fae044e6fa1ebbbd1b3e902ae19e73097ed4ed87bb79934a867c007bc3" [[package]] name = "log" @@ -1860,9 +1860,9 @@ dependencies = [ [[package]] name = "rusty_v8" -version = "0.8.1" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30925153e17b35ca37a21f4bbf5f61277348ee3110d65360d89010993ce27079" +checksum = "74794f26ec99d8baa7dc8499d520f122aad18fc022e79fc774e3c178040960f9" dependencies = [ "bitflags", "cargo_gn", diff --git a/core/Cargo.toml b/core/Cargo.toml index 74c80872ee..8b918d0142 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -18,7 +18,7 @@ futures = "0.3.5" lazy_static = "1.4.0" libc = "0.2.74" log = "0.4.11" -rusty_v8 = "0.8.1" +rusty_v8 = "0.9.1" serde_json = { version = "1.0.57", features = ["preserve_order"] } smallvec = "1.4.2" url = "2.1.1" diff --git a/core/es_isolate.rs b/core/es_isolate.rs index a829a3a3b0..f2e2460ba6 100644 --- a/core/es_isolate.rs +++ b/core/es_isolate.rs @@ -293,7 +293,7 @@ impl EsIsolate { }); resolver.reject(scope, exception).unwrap(); - scope.run_microtasks(); + scope.perform_microtask_checkpoint(); Ok(()) } @@ -333,7 +333,7 @@ impl EsIsolate { let module_namespace = module.get_module_namespace(); resolver.resolve(scope, module_namespace).unwrap(); - scope.run_microtasks(); + scope.perform_microtask_checkpoint(); Ok(()) }