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 race conditions in device list download #365

Merged
merged 2 commits into from
Feb 14, 2017
Merged

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Feb 13, 2017

Hopefully this fixes both the races described in element-hq/element-web#3126. Suggest reviewing the commits separately.

Fix a race where device list queries completing out-of-order could lead to us
thinking that we were more in-sync than we actually were.
Fixes a problem if the user initiates a device query before the /changes
response comes back.
@dbkr dbkr merged commit 94a8915 into develop Feb 14, 2017
@richvdh richvdh deleted the rav/fix_devicelist_race_1 branch February 14, 2017 12:18
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