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

Cache Mumble Link server address as well #50

Merged
merged 2 commits into from
Mar 21, 2020

Conversation

Archomeda
Copy link
Owner

Requesting the server address doesn't allocate any more memory when it's not needed.
This also adds a lock around the identity and the server address, since they both have a caching backing field and we don't want any race conditions happening here that may cause undefined behavior.

@Archomeda Archomeda added Area: Mumble Link Related to the Mumble Link API Type: Refactor An improvement to the project that doesn't necessarily add a new features labels Mar 21, 2020
@Archomeda Archomeda merged commit 07a0163 into 0.9 Mar 21, 2020
@Archomeda Archomeda deleted the fix/additional-mumble-performance-improvements branch March 21, 2020 19:29
@Archomeda Archomeda mentioned this pull request Mar 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Mumble Link Related to the Mumble Link API Type: Refactor An improvement to the project that doesn't necessarily add a new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant