From 578f2ba45eb264a0374dafc51e4453df92c6a5c1 Mon Sep 17 00:00:00 2001 From: Aaron O'Mullan Date: Sat, 1 May 2021 03:08:29 +0200 Subject: refactor(core): provide builtins as an Extension (#10449) --- runtime/web_worker.rs | 2 -- runtime/worker.rs | 2 -- 2 files changed, 4 deletions(-) (limited to 'runtime') 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); -- cgit v1.2.3