summaryrefslogtreecommitdiff
path: root/runtime/ops/web_worker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ops/web_worker.rs')
-rw-r--r--runtime/ops/web_worker.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/ops/web_worker.rs b/runtime/ops/web_worker.rs
index 45137913e..7952a03f2 100644
--- a/runtime/ops/web_worker.rs
+++ b/runtime/ops/web_worker.rs
@@ -24,7 +24,10 @@ deno_core::extension!(
op_worker_close,
op_worker_get_type,
op_worker_sync_fetch,
- ]
+ ],
+ customizer = |ext: &mut deno_core::ExtensionBuilder| {
+ ext.force_op_registration();
+ },
);
#[op]