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

Change NetConnectionEnd to be closer to ESteamNetConnectionEnd #158

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

simonstix
Copy link
Contributor

I encountered a problem where sometimes my server would panic for no apparent reason.

The panic happened in TryFrom for NetConnectionEnd. I'm not quite sure why I added a panic in a try_from implementation in my original PR. I think that was simply an oversight on my part.

After looking at NetConnectionEnd again it seemed like a better idea to create a fallback Other type in case new types get added in the future. I also made it possible to customize app end reasons.

@Noxime Noxime merged commit f5cff60 into Noxime:master Apr 26, 2024
9 checks passed
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