Skip to content

fix(iOS): Replace uses of CGColorRef with UIColor to avoid manual memory management v2#47019

Closed
joevilches wants to merge 1 commit into
facebook:mainfrom
joevilches:export-D64201626
Closed

fix(iOS): Replace uses of CGColorRef with UIColor to avoid manual memory management v2#47019
joevilches wants to merge 1 commit into
facebook:mainfrom
joevilches:export-D64201626

Conversation

@joevilches
Copy link
Copy Markdown
Contributor

Summary:
The original diff (D63989547) was backed out because it was causing some crashes related to some internal code that had to be changed. That code did not necessarily need to be changed - we could have just left the RCTCreateCGColorRefFromSharedColor function and not touched the internal code - which is what I am going to do here

Changelog: [Internal]

Differential Revision: D64201626

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 14, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D64201626

@joevilches
Copy link
Copy Markdown
Contributor Author

cc @Saadnajmi @blakef

…emory management v2 (facebook#47019)

Summary:

NOTE: This code is largely the same as facebook#46847, I am merely fixing some internal issues

The original diff (D63989547) was backed out because it was causing some crashes related to some internal code that had to be changed. That code did not necessarily need to be changed - we could have just left the `RCTCreateCGColorRefFromSharedColor` function and not touched the internal code - which is what I am going to do here

Changelog: [Internal]

Differential Revision: D64201626
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D64201626

@Saadnajmi
Copy link
Copy Markdown
Contributor

TIL, Even for changes on main, remove methods in a separate change :D

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in dd1aea5.

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @joevilches in dd1aea5

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants