summaryrefslogtreecommitdiff
path: root/runtime/ops/runtime.rs
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2023-06-03 21:22:32 +0100
committerGitHub <noreply@github.com>2023-06-03 14:22:32 -0600
commit34dac6c6efa75f38c29031a65db1ee3332a67259 (patch)
tree5facbc9c0631feebc23ed2f2d9ea37643d0e7086 /runtime/ops/runtime.rs
parent7d0853d15863b2fb61bcf5927139cfdd3d869d73 (diff)
refactor(core): remove force_op_registration and cleanup JsRuntimeForSnapshot (#19353)
Addresses https://github.com/denoland/deno/pull/19308#discussion_r1212248194. Removes force_op_registration as it is no longer necessary.
Diffstat (limited to 'runtime/ops/runtime.rs')
-rw-r--r--runtime/ops/runtime.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/runtime/ops/runtime.rs b/runtime/ops/runtime.rs
index 9f2e48d7a..3f60c7437 100644
--- a/runtime/ops/runtime.rs
+++ b/runtime/ops/runtime.rs
@@ -13,9 +13,6 @@ deno_core::extension!(
state = |state, options| {
state.put::<ModuleSpecifier>(options.main_module);
},
- customizer = |ext: &mut deno_core::ExtensionBuilder| {
- ext.force_op_registration();
- },
);
#[op]