Skip to content

Conversation

@yury-s
Copy link
Member

@yury-s yury-s commented Mar 27, 2023

This is a backport of microsoft/playwright@09ff7ea

Copy link
Contributor

@mxschmitt mxschmitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks different to the upstream impl. I'd if closeWasCalled and then early return to not have to wait for the closePromise.

@yury-s
Copy link
Member Author

yury-s commented Mar 27, 2023

Looks different to the upstream impl. I'd if closeWasCalled and then early return to not have to wait for the closePromise.

There is a bug in the upstream implementation, it should wait for close promise.

@yury-s yury-s merged commit bc50392 into microsoft:main Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants