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
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
[default] Fix possible crash at RunLoop::wake() - #16255
What it introduced by 9cb19b9 or was 9cb19b9 simply what uncovered a lurking problem that predated it?
Is there a way to write a test that would have failed before this fix (so that the problem would be caught in the gl-native tests if it regresses again, rather than only downstream)?
The runOnce() call during run loop destruction caused the invoke() call on the same partially destructed run loop (i.e. impl->async was already deleted).
What it introduced by 9cb19b9 or was 9cb19b9 simply what uncovered a lurking problem that predated it?
the latter, it was a long-standing problem
Is there a way to write a test that would have failed before this fix (so that the problem would be caught in the gl-native tests if it regresses again, rather than only downstream)?
Yep, I'm planning to add a unit test probably next week
Thanks @pozdnyakov - I will watch for your unit test.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
runOnce()call during run loop destruction might causeinvoke()calls.Fixes #16250