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

Send a STOPPED sync updated after call to stopClient #286

Merged
merged 1 commit into from
Nov 16, 2016
Merged

Send a STOPPED sync updated after call to stopClient #286

merged 1 commit into from
Nov 16, 2016

Conversation

fred-wang
Copy link
Contributor

No description provided.

@kegsay
Copy link
Member

kegsay commented Nov 14, 2016

@dbkr - Since you implemented the STOPPED state, can you please check this?

@fred-wang
Copy link
Contributor Author

I believe this happens when one call MatrixClient::stopClient while the this._currentSyncRequest request in SyncApi::_sync is still executed. Then SyncApi::stop() is called, setting this._running to false and aborting this._currentSyncRequest. This then leads to the place where the code is added in this commit.

@dbkr dbkr self-assigned this Nov 15, 2016
@dbkr
Copy link
Member

dbkr commented Nov 15, 2016

Yep, this should definitely have been there: thanks.

Sorry, but can you do the DCO signoff please? (https://github.com/matrix-org/matrix-js-sdk/blob/master/CONTRIBUTING.rst)

@fred-wang
Copy link
Contributor Author

Signed-off-by: Frédéric Wang [email protected]

@dbkr
Copy link
Member

dbkr commented Nov 16, 2016

Thanks!

@dbkr dbkr merged commit 8143abc into matrix-org:develop Nov 16, 2016
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.

3 participants