8000 Fix carousel filter debounce causing a race condition by peppy · Pull Request #1041 · ppy/osu · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix carousel filter debounce causing a race condition #1041

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

Merged
merged 3 commits into from
Jul 21, 2017

Conversation

peppy
Copy link
Member
@peppy peppy commented Jul 20, 2017

Clicking a ruleset button on toolbar would schedule a delayed filter of carousel, which could in turn trigger a beatmap change after pushing a Player. This resolves that by forcing any pending operations to complete.

Clicking a ruleset button on toolbar would schedule a delayed filter of carousel, which could in turn trigger a beatmap change after pushing a Player. This resolves that by forcing any pending operations to complete.
@@ -232,6 +232,8 @@ public void SelectPreviousRandom()

public bool AllowSelection = true;

public bool PendingFilter => filterTask?.Completed == false;

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

@peppy peppy merged commit d344452 into ppy:master Jul 21, 2017
@peppy peppy deleted the fix-carousel-debounce-race branch July 31, 2017 08:08
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
0