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

fix(ios): fix a couple of memory leaks #12254

Merged
merged 6 commits into from Dec 8, 2020

Conversation

hansemannn
Copy link
Collaborator

JIRA: https://jira.appcelerator.org/browse/TIMOB-28232

There are roughly 15 more. Would be great if someone from the core team could assist here.

@build build added this to the 9.3.0 milestone Nov 7, 2020
@build build requested a review from a team November 7, 2020 22:20
@build
Copy link
Contributor

build commented Nov 7, 2020

Fails
🚫

🔬 There are library changes, but no changes to the unit tests. That's OK as long as you're refactoring existing code, but will require an admin to merge this PR. Please see README.md#unit-tests for docs on unit testing.

🚫

Test suite crashed on iOS simulator. Please see the crash log for more details.

Messages
📖 🎉 Another contribution from our awesome community member, hansemannn! Thanks again for helping us make Titanium SDK better. 👍
📖 ✊ The commits in this PR match our conventions! Feel free to Rebase and Merge this PR when ready.
📖

✅ All tests are passing
Nice one! All 10359 tests are passing.
(There are 663 skipped tests not included in that total)

Generated by 🚫 dangerJS against 37c75ba

}
return [[TiColor alloc] initWithColor:UIColor.blackColor name:@"black"];
return [[[TiColor alloc] initWithColor:UIColor.blackColor name:@"black"] autorelease];
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This actually causes some huge leaks, because it's used like a few hundred times by larger apps

@sgtcoolguy sgtcoolguy modified the milestones: 9.3.0, 10.0.0 Nov 20, 2020
Copy link
Contributor

@vijaysingh-axway vijaysingh-axway left a comment

Choose a reason for hiding this comment

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

CR passed!

@sgtcoolguy sgtcoolguy merged commit 62d4ef0 into tidev:master Dec 8, 2020
sgtcoolguy pushed a commit that referenced this pull request Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants