aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2021-01-22 11:35:00 +0100
committerGravatar Numerlor <[email protected]>2021-01-22 11:35:00 +0100
commit72a805c779b79ef5c0aeed7a9dd4b2096e3b35c9 (patch)
tree908f9b55d5ae6bdb6b9d17af76c4076aad33b84f /tests
parentUse inspect.unwrap instead of manually unwrapping (diff)
Fix issues with multiple gets being suspended when a refresh starts
With a normal event, if multiple gets were suspended and a refresh started, we'd continue the refresh after the first get finished and set the event which would be the same behaviour as the one it tried to fix. This is avoided by using a counter that's incremented every time a context manager is entered around an event and only setting the event when that counter reaches a zero after everything exited the context mgr
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions