Skip to content

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