Skip to content

Rework connection teardown logic#1713

Open
rblenkinsopp wants to merge 2 commits intodevelopfrom
rcb/connection-rework
Open

Rework connection teardown logic#1713
rblenkinsopp wants to merge 2 commits intodevelopfrom
rcb/connection-rework

Conversation

@rblenkinsopp
Copy link
Copy Markdown
Member

@rblenkinsopp rblenkinsopp commented Apr 30, 2026

This makes a number oc changes to improve Connection teardown logic:

  • Fixed a file descriptor leak in Connection that exhausted the Unity process's OS handle limit after repeated play-mode start/stop cycles.
  • Fixed an unmanaged memory leak where the marshalled server namespace string passed to LeapC was not freed.
  • Fixed a managed memory leak in Controller where event subscriptions on the pooled Connection were not removed on disposal.
  • Fixed a missing timeout on Connection shutdown which could lead to delays in applications exiting.

@rblenkinsopp rblenkinsopp force-pushed the rcb/connection-rework branch from 6b5151d to 884543e Compare May 5, 2026 12:18
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.

1 participant