From bdc97b3976786bb744a27e59b0f4f28554a682df Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 21 Aug 2019 20:42:48 -0400 Subject: Organize dispatch a bit (#2796) Just some clean up reorganization around flatbuffer/minimal dispatch code. This is prep for adding a JSON dispatcher. --- cli/ops/workers.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'cli/ops/workers.rs') diff --git a/cli/ops/workers.rs b/cli/ops/workers.rs index d47aab765..1eb11420f 100644 --- a/cli/ops/workers.rs +++ b/cli/ops/workers.rs @@ -1,12 +1,11 @@ // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +use super::dispatch_flatbuffers::serialize_response; +use super::utils::ok_buf; +use super::utils::CliOpResult; use crate::deno_error; use crate::deno_error::DenoError; use crate::deno_error::ErrorKind; use crate::msg; -use crate::ops::ok_buf; -use crate::ops::op_selector_std; -use crate::ops::serialize_response; -use crate::ops::CliOpResult; use crate::resources; use crate::startup_data; use crate::state::ThreadSafeState; @@ -136,7 +135,6 @@ pub fn op_create_worker( let child_state = ThreadSafeState::new( parent_state.flags.clone(), child_argv, - op_selector_std, parent_state.progress.clone(), include_deno_namespace, )?; -- cgit v1.2.3