Skip to content

Conversation

@davidejensen
Copy link
Member

@davidejensen davidejensen commented Jan 26, 2026

Pull Request Description

What does this PR change?

Fix #6819
This PR ensures that LiveKit, RustAudio and Segment are safely disposed when closing the game, to avoid crashes caused by the non disposal of those native libraries

Test Instructions

Just perform a smoke test and verify if the client crashes on closing, it could still happen but the majority of crashes on exit should be fixed

Additional Testing Notes

  • Note any edge cases to verify
  • Mention specific areas that need careful testing
  • List known limitations or potential issues

Quality Checklist

  • Changes have been tested locally
  • Documentation has been updated (if required)
  • Performance impact has been considered
  • For SDK features: Test scene is included

Code Review Reference

Please review our Code Review Standards before submitting.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 26, 2026

@davidejensen davidejensen changed the title Fix/native libs disposal fix: native libs disposal to ensure graceful close Jan 26, 2026
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.

[TECH DEBT] Add Missing Dispose Calls to Native Libraries (Graceful Shutdown)

3 participants