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

Address some memory leaks #8195

Merged
merged 1 commit into from
Mar 31, 2023
Merged

Address some memory leaks #8195

merged 1 commit into from
Mar 31, 2023

Conversation

leemaguire
Copy link
Contributor

@leemaguire leemaguire commented Mar 30, 2023

Attempts to address some memory leak issues a user is having.

@cla-bot cla-bot bot added the cla: yes label Mar 30, 2023
@leemaguire leemaguire changed the title memory leak fixes Address some memory leaks Mar 30, 2023
@@ -329,7 +323,7 @@ extension Realm {

internal static func fromRLMRealmConfiguration(_ rlmConfiguration: RLMRealmConfiguration) -> Configuration {
var configuration = Configuration()
configuration._path = rlmConfiguration.fileURL?.path
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some strange reason, calling .path showed up as a memory leak in Instruments.

Realm/RLMBSON.mm Outdated Show resolved Hide resolved
@leemaguire leemaguire marked this pull request as ready for review March 30, 2023 16:13
@leemaguire leemaguire requested a review from tgoyne March 30, 2023 16:13
@leemaguire
Copy link
Contributor Author

@tgoyne comment addressed.

@leemaguire leemaguire merged commit b5d33c0 into master Mar 31, 2023
@leemaguire leemaguire deleted the lm/memory-leaks branch March 31, 2023 18:28
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants