Closed rbuckton closed 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.
using
await using
DisposeResources()
ExecuteModule
My bad, this already exists and was only missing from my reference implementation in engine262.
To ensure we correctly dispose of resources introduced via
using
andawait using
at the top of a module, we must callDisposeResources()
at the end of theExecuteModule
method of a Source Text Module Record.