diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-03-18 18:30:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-18 18:30:04 -0400 |
commit | 3c9771deb2d615c47a2570023039c6a71f1c774b (patch) | |
tree | 759ce45a956798ddae58108286eafee29414d913 /runtime/ops/web_worker.rs | |
parent | a5ad3a44b5476909f12ae90501d8c7c451669be6 (diff) |
Reland "perf(core): preserve ops between snapshots (#18080)" (#18272)
Relanding 4b6305f4f25fc76f974bbdcc9cdb139d5ab8f5f4
Diffstat (limited to 'runtime/ops/web_worker.rs')
-rw-r--r-- | runtime/ops/web_worker.rs | 5 |
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] |