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

[TIMOB-24206] iOS: Fix image leaks on JSCore, use JSCore by default inside iOS-core as well #9850

Merged
merged 7 commits into from May 23, 2018

Conversation

hansemannn
Copy link
Collaborator

@build
Copy link
Contributor

build commented Feb 16, 2018

Messages
📖

💾 Here's the generated SDK zipfile.

Generated by 🚫 dangerJS

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.

On iOS 11, it is crashing after selecting 30 pics/approx 3 mints.

@hansemannn hansemannn changed the title [TIMOB-24206] iOS: Fix image leaks on JSCore [TIMOB-24206] iOS: Fix image leaks on JSCore, use JSCore by default inside iOS-core as well Mar 18, 2018
@hansemannn
Copy link
Collaborator Author

@vijaysingh-axway PR updated with the regards to the discussion on Teams. We have to extremely sensitive tests to ensure the JSGarbageCollect plays nice.

@build build added the ios label Mar 18, 2018
@@ -605,6 +605,7 @@ - (void)setBackgroundImage_:(id)image
if (backgroundRepeat) {
[self renderRepeatedBackground:bgImage];
} else {
RELEASE_TO_NIL([self backgroundImageLayer].contents);
Copy link
Contributor

Choose a reason for hiding this comment

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

This line is causing crash. If I remove this line, JSGarbageCollect is working nice. I'll do more testing.

@build build added the ios label Mar 21, 2018
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.

@hansemannn hansemannn merged commit 0e32585 into tidev:master May 23, 2018
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