summaryrefslogtreecommitdiff
path: root/js/workers.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/workers.ts')
-rw-r--r--js/workers.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/js/workers.ts b/js/workers.ts
index f7aa857fc..fd82e2304 100644
--- a/js/workers.ts
+++ b/js/workers.ts
@@ -1,6 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import * as dispatch from "./dispatch";
-import { libdeno } from "./libdeno";
import * as msg from "gen/msg_generated";
import * as flatbuffers from "./flatbuffers";
import { assert, log } from "./util";
@@ -53,7 +52,6 @@ export function workerClose(): void {
export async function workerMain() {
log("workerMain");
- libdeno.recv(dispatch.handleAsyncMsgFromRust);
// TODO avoid using globalEval to get Window. But circular imports if getting
// it from globals.ts