tc39 / proposal-explicit-resource-management

ECMAScript Explicit Resource Management
https://arai-a.github.io/ecma262-compare/?pr=3000
BSD 3-Clause "New" or "Revised" License
758 stars 30 forks source link

`ExecuteModule` method of a Source Text Module Record should call `DisposeResources` #174

Closed rbuckton closed 1 year ago

rbuckton commented 1 year ago

To ensure we correctly dispose of resources introduced via using and await using at the top of a module, we must call DisposeResources() at the end of the ExecuteModule method of a Source Text Module Record.

rbuckton commented 1 year ago

My bad, this already exists and was only missing from my reference implementation in engine262.