diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/Cargo.toml | 2 | ||||
-rw-r--r-- | core/es_isolate.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/Cargo.toml b/core/Cargo.toml index 74c80872e..8b918d014 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 a829a3a3b..f2e2460ba 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(()) } |