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/completed collection error #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

xamplum
Copy link
Collaborator

@xamplum xamplum commented Mar 29, 2023

… additions". by removing "queue.CompleteAdding();" from completeAsync for logout.

This issue happened if user logged out and directly logged back in again without closing the app first. If we mark the collection as "completed" we cannot add the command to register.

I tested it locally with our app. Login -> Logout -> login worked without any issues. Token got updated

xamplum added 2 commits March 29, 2023 14:12
… additions". by removing "queue.CompleteAdding();" from completeAsync for logout.

This issue happened if user logged out and directly logged back in again without closing app first
@SebastianStehle
Copy link
Contributor

This cannot work. Because we dispose everything then. The question is, if we even have to call the CompleteAsync() here.

@xamplum
Copy link
Collaborator Author

xamplum commented Mar 29, 2023

@SebastianStehle i think we do need it. Because otherwise the token is not deleted

@SebastianStehle
Copy link
Contributor

Then you have to either create a new queue after that or you have to reimplement the completion mechanism with something more sophisticated. We can discuss this over a call.

@xamplum
Copy link
Collaborator Author

xamplum commented Mar 29, 2023

you know how to reach me :-). Feel free to contact me as soon as you have time

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