Skip to content

Commit

Permalink
🐛 Fix Deno panic on invalid UTF-8 string
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdalisue committed May 15, 2024
1 parent 53818b0 commit cd83f94
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions denops/@denops-private/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ import {
} from "jsr:@lambdalisue/workerio@4.0.0";
import { parseArgs } from "jsr:@std/cli/parse-args";

// Disable "Native acceleration" feature of `msgpackr` as an workaround of Deno panic.
// https://github.com/denoland/deno/issues/23792
Deno.env.set("MSGPACKR_NATIVE_ACCELERATION_DISABLED", "true");

const script = import.meta.resolve("./worker.ts");

async function handleConn(
Expand Down

0 comments on commit cd83f94

Please sign in to comment.