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
typescript comlink web-worker promise-leak worker-terminate 121 tokens