summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/web_worker.rs2
-rw-r--r--runtime/worker.rs2
2 files changed, 0 insertions, 4 deletions
diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs
index 7f0a4885f..aa219084c 100644
--- a/runtime/web_worker.rs
+++ b/runtime/web_worker.rs
@@ -260,8 +260,6 @@ impl WebWorker {
Some(sender),
options.create_web_worker_cb.clone(),
);
- ops::reg_sync(js_runtime, "op_close", deno_core::op_close);
- ops::reg_sync(js_runtime, "op_resources", deno_core::op_resources);
ops::io::init(js_runtime);
if options.use_deno_namespace {
diff --git a/runtime/worker.rs b/runtime/worker.rs
index c2e241169..81cb038cd 100644
--- a/runtime/worker.rs
+++ b/runtime/worker.rs
@@ -146,8 +146,6 @@ impl MainWorker {
None,
options.create_web_worker_cb.clone(),
);
- ops::reg_sync(js_runtime, "op_close", deno_core::op_close);
- ops::reg_sync(js_runtime, "op_resources", deno_core::op_resources);
ops::fs_events::init(js_runtime);
ops::fs::init(js_runtime);
ops::http::init(js_runtime);