From 7966bf14c062a05b1606a62c996890571454ecc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 21 Jan 2020 09:49:47 +0100 Subject: refactor: split worker and worker host logic (#3722) * split ops/worker.rs into ops/worker_host.rs and ops/web_worker.rs * refactor js/workers.ts and factor out js/worker_main.ts - entry point for WebWorker runtime * BREAKING CHANGE: remove support for blob: URL in Worker * BREAKING CHANGE: remove Deno namespace support and noDenoNamespace option in Worker constructor * introduce WebWorker struct which is a stripped down version of cli::Worker --- core/isolate.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core') diff --git a/core/isolate.rs b/core/isolate.rs index 5617caa86..f734f687c 100644 --- a/core/isolate.rs +++ b/core/isolate.rs @@ -440,6 +440,8 @@ impl Isolate { isolate.exit(); } + // TODO(bartlomieju): `error_handler` should be removed + #[allow(dead_code)] pub fn set_error_handler(&mut self, handler: Box) { self.error_handler = Some(handler); } -- cgit v1.2.3