1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-01 09:24:20 -04:00
denoland-deno/cli/tests/testdata/issue12453.js
Ryan Dahl 7c2abb9d57
fix: Deno.emit crashes with BorrowMutError (#12627)
Warn on await_holding_refcell_ref clippy rule to avoid this in the future.

Fixes #12453
2021-11-03 09:27:36 -04:00

4 lines
127 B
JavaScript

const i = setInterval(() => {
Deno.emit("http://localhost:4545/subdir/mt_text_typescript.t1.ts");
clearInterval(i);
}, 1);