You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In GeneratorStart and AsyncGeneratorStart, the provided generatorBody parameter can be an Abstract Closure in which case the LexicalEnvironment of the running Execution Context may not be set.
We should either:
Not call DisposeResources when the LexicalEnvironment is not defined (which should only be for Abstract Closures), or
Move the DisposeResources call to the Evaluation for FunctionBody, as suggested in this comment.