Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: work around a race in waitForFileChooser #8905

Merged
merged 1 commit into from Sep 6, 2022
Merged

fix: work around a race in waitForFileChooser #8905

merged 1 commit into from Sep 6, 2022

Conversation

OrKoN
Copy link
Collaborator

@OrKoN OrKoN commented Sep 6, 2022

Closes #6040

this.#fileChooserPromises.delete(promise);
throw error;
});
let enablePromise: Promise<void> | undefined;
Copy link
Collaborator

Choose a reason for hiding this comment

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

maybeEnablePromise?

@OrKoN OrKoN merged commit 053d960 into main Sep 6, 2022
@OrKoN OrKoN deleted the fixed-6040 branch September 6, 2022 15:03
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.

waitForFileChooser + click race
2 participants