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 glitches in WaitFor: NRE, monotonic clock, exception after success #21

Merged
merged 1 commit into from
Sep 14, 2024

Conversation

exyi
Copy link
Member

@exyi exyi commented Sep 7, 2024

Fixed NullReferenceException when exceptionThrown variable in BrowserWrapper was null

In general, if the condition is successful WaitFor will now suceed, even if the deadline has already passed.

Switched to Stopwatch to avoid non-monotonic clock goblins

Fixed NullReferenceException when exceptionThrown variable in BrowserWrapper was null

In general, if the condition is successful WaitFor will now suceed,
even if the deadline has already passed.

Switched to Stopwatch to avoid non-monotonic clock goblins
Copy link
Contributor

@quigamdev quigamdev left a comment

Choose a reason for hiding this comment

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

Nice 👍

@quigamdev quigamdev merged commit 6741d78 into main Sep 14, 2024
5 checks passed
@tomasherceg tomasherceg deleted the waitfor-fixes branch November 3, 2024 10:15
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.

2 participants