1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00

fix deno_core_http_bench (#3698)

This commit is contained in:
Bartek Iwańczuk 2020-01-17 15:26:51 +01:00 committed by GitHub
parent ad6635fab5
commit d776ca8f2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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]);