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: only delete the client token if we are the owner #69

Merged
merged 1 commit into from Oct 3, 2021

Conversation

@TrueBrain
Copy link
Member

@TrueBrain TrueBrain commented Oct 3, 2021

Due to concurrency, it can happen that a new token instance took
over the client for the given invite-code. In that case we should
not be deleting it.

Due to concurrency, it can happen that a new token instance took
over the client for the given invite-code. In that case we should
not be deleting it.
@TrueBrain TrueBrain merged commit 1c19702 into OpenTTD:main Oct 3, 2021
5 checks passed
Loading
@TrueBrain TrueBrain deleted the fix-delete-client-token branch Oct 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant