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

Unset client.conn.playing on disconnect #2219

Merged

Conversation

lmoureaux
Copy link
Contributor

Since it's used everywhere in the client code to determine the current player, keeping it set to a dangling value triggers various assertions.

Closes #2195.
Backport candidate

Since it's used everywhere in the client code to determine the current
player, keeping it set to a dangling value triggers various assertions.

Closes longturn#2195.
@lmoureaux lmoureaux requested a review from jwrober March 17, 2024 03:17
@jwrober jwrober added the back-port back-port candidate label Mar 19, 2024
@jwrober
Copy link
Collaborator

jwrober commented Mar 19, 2024

Backport approved. I can merge and capture the git ID or you can @lmoureaux

@lmoureaux lmoureaux merged commit 0b437c3 into longturn:master Mar 24, 2024
19 of 20 checks passed
@lmoureaux lmoureaux deleted the bugfix/failed-assert-on-disconnect branch March 24, 2024 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-port back-port candidate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Assertion nation_check(pplayer->nation) failed
2 participants