From d776ca8f2e02dea210b50b28a4e4c20f31eed1f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 17 Jan 2020 15:26:51 +0100 Subject: fix deno_core_http_bench (#3698) --- core/examples/http_bench.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/examples/http_bench.js') diff --git a/core/examples/http_bench.js b/core/examples/http_bench.js index dc204dfca..9473b6880 100644 --- a/core/examples/http_bench.js +++ b/core/examples/http_bench.js @@ -71,7 +71,7 @@ function recordFromBuf(buf) { return new Int32Array(buf.buffer, buf.byteOffset, buf.byteLength / 4); } -function handleAsyncMsgFromRust(opId, buf) { +function handleAsyncMsgFromRust(buf) { const record = recordFromBuf(buf); const p = promiseMap.get(record[0]); promiseMap.delete(record[0]); -- cgit v1.2.3