From b6b813cbfcf1a440a4a3b5eb10f55cfc85c4e3f3 Mon Sep 17 00:00:00 2001 From: Andy Finch Date: Mon, 18 Nov 2019 21:13:04 -0500 Subject: feat: op registration during calls (#3375) --- core/examples/http_bench.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/examples') diff --git a/core/examples/http_bench.rs b/core/examples/http_bench.rs index e82fcc119..a7b26f4b1 100644 --- a/core/examples/http_bench.rs +++ b/core/examples/http_bench.rs @@ -165,7 +165,7 @@ fn main() { filename: "http_bench.js", }); - let mut isolate = deno::Isolate::new(startup_data, false); + let isolate = deno::Isolate::new(startup_data, false); isolate.register_op("listen", http_op(op_listen)); isolate.register_op("accept", http_op(op_accept)); isolate.register_op("read", http_op(op_read)); -- cgit v1.2.3