diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-07-23 15:42:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-23 13:42:41 +0000 |
commit | a4e0f3ff8851771e91c14fd398d5956d9ae73bf3 (patch) | |
tree | 33944498f53f1a64fdb17159b28a3249506c8956 /runtime/web_worker.rs | |
parent | 4ef080cb85441d820f47c845b40213f297754f4c (diff) |
chore: update deno_core to 0.196.0 (#19897)
Co-authored-by: Matt Mastracci <matthew@mastracci.com>
Diffstat (limited to 'runtime/web_worker.rs')
-rw-r--r-- | runtime/web_worker.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs index 956181326..af1ae19e0 100644 --- a/runtime/web_worker.rs +++ b/runtime/web_worker.rs @@ -528,7 +528,7 @@ impl WebWorker { }; let bootstrap_fn_global = { - let context = js_runtime.global_context(); + let context = js_runtime.main_context(); let scope = &mut js_runtime.handle_scope(); let context_local = v8::Local::new(scope, context); let global_obj = context_local.global(scope); |