Skip to content

Conversation

EmandM
Copy link
Collaborator

@EmandM EmandM commented Oct 15, 2025

Purpose of this PR

Ensure NetworkConnectionManager correctly handles multiple disconnect messages being sent.

Jira ticket

MTTB-1339
MTTB-1628
fixes: #2858
fixes: #3695

Changelog

  • Fixed: Multiple disconnect events from the same transport id will no longer shutdown the host
  • Changed: NetworkManager.GetTransportIdFromClientId and NetworkManager.GetClientIdFromTransportId now return ulong:MaxValue when the clientId or the transportId doesn't exist, rather than zero.

Documentation

  • No documentation changes or additions were necessary.

Testing & QA (How your changes can be verified during release Playtest)

Functional Testing

  • Manual testing done

Automated tests:

  • Covered by existing automated tests
  • Covered by new automated tests

Does the change require QA team to:

  • Review automated tests?
  • Execute manual tests?
  • Provide feedback about the PR?

If any boxes above are checked the QA team will be automatically added as a PR reviewer.

Backports

This is a backport of #3707

@EmandM EmandM enabled auto-merge (squash) October 16, 2025 15:24
@EmandM EmandM merged commit 9758607 into develop Oct 16, 2025
12 checks passed
@EmandM EmandM deleted the fix/1.x/transport-double-disconnect branch October 16, 2025 15:32
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