summaryrefslogtreecommitdiff
path: root/cli/worker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/worker.rs')
-rw-r--r--cli/worker.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/worker.rs b/cli/worker.rs
index f18062836..f707f4a58 100644
--- a/cli/worker.rs
+++ b/cli/worker.rs
@@ -29,8 +29,8 @@ impl Worker {
{
let mut i = isolate.lock().unwrap();
let state_ = state.clone();
- i.set_dispatch(move |control_buf, zero_copy_buf| {
- state_.dispatch(control_buf, zero_copy_buf)
+ i.set_dispatch(move |op_id, control_buf, zero_copy_buf| {
+ state_.dispatch(op_id, control_buf, zero_copy_buf)
});
let state_ = state.clone();
i.set_js_error_create(move |v8_exception| {