mirror of
https://github.com/denoland/deno.git
synced 2024-12-29 10:39:10 -05:00
4a13c320d7
Due to a bug in V8, terminating an isolate while a module with top-level await is being evaluated would crash the process. This change makes it so calling `worker.terminate()` will signal the worker to terminate at the next iteration of the event loop, and it schedules a proper termination of the worker's isolate after 2 seconds.
0 lines
Text
0 lines
Text