denoland / deno_core

The core engine at the heart of Deno
MIT License
233 stars 76 forks source link

Revert "store `ContextState` and `ModuleMap` in embedder slots (#772)" #776

Closed bartlomieju closed 1 month ago

bartlomieju commented 1 month ago

This reverts commit 98d52cf97c1574b3ae642b8b4745590d72da7d0c.

CC @littledivy I had trouble updating deno_core in Deno as it died on node_unit_tests::vm_test with signal 11 during vm context promise rejection test. Also Box<Rc<...>> seems fishy as pointed as by @dsherret in https://github.com/denoland/deno_core/pull/775#discussion_r1631733833