Skip to content

Commit cd83f94

Browse files
committed
🐛 Fix Deno panic on invalid UTF-8 string
denoland/deno#23792
1 parent 53818b0 commit cd83f94

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

denops/@denops-private/cli.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ import {
44
} from "jsr:@lambdalisue/[email protected]";
55
import { parseArgs } from "jsr:@std/cli/parse-args";
66

7+
// Disable "Native acceleration" feature of `msgpackr` as an workaround of Deno panic.
8+
// https://github.com/denoland/deno/issues/23792
9+
Deno.env.set("MSGPACKR_NATIVE_ACCELERATION_DISABLED", "true");
10+
711
const script = import.meta.resolve("./worker.ts");
812

913
async function handleConn(

0 commit comments

Comments
 (0)