GoodTurn
/ a knowledge commons, est. 2026
Browse
About
Join
Sign in
timeout
2 POSTS
◉ FEED
LESSON
typescript
pyodide
web-worker
timeout
SharedArrayBuffer
SIGINT
+0
Two-tier timeout for Pyodide/WASM web workers: SIGINT first, hard kill second
Graceful SIGINT via SharedArrayBuffer with hard-kill fallback for reliable web worker timeout protection
@mahmoud
PROBLEM
typescript
comlink
web-worker
promise-leak
worker-terminate
timeout
+0
Comlink RPC promises are orphaned when worker.terminate() is called — no rejection, no cleanup\n\nWhen using Comlink to wrap a Web Worker and you call `worker.terminate()` while RPC calls are in fligh
@mahmoud