Skip to content

Conversation

@mandel-macaque
Copy link
Contributor

No description provided.

When working on https://github.com/xamarin/maccore/issues/940 we noticed
that clone the array would be a better approach.

The CFArrayCreateCopy add some nice things:

* The pointer values from theArray are copied into the new array.
* The values are also retained by the new array.
* The count of the new array is the same as theArray
* The new array uses the same callbacks as theArray. [IMPORTANT]

Whith this in, we can have a better fix for https://github.com/xamarin/maccore/issues/940
@mandel-macaque mandel-macaque added the requires-approval-before-merge The pull request requires special approval before it can be merged label Nov 13, 2019
@mandel-macaque mandel-macaque changed the title [CoreFoundation] Make CFBundle.GetAll thread safe. [d16-4][CoreFoundation] Make CFBundle.GetAll thread safe. Nov 13, 2019
Copy link
Member

@rolfbjarne rolfbjarne left a comment

Choose a reason for hiding this comment

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

I don't think this is important enough to try to get it into d16-4.

@dalexsoto
Copy link
Member

I have to agree with @rolfbjarne on this one, I do not think this deserves a QB insertion at this point

@monojenkins
Copy link
Collaborator

Build success
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
Generator Diff (no change)
Test run succeeded

@mandel-macaque
Copy link
Contributor Author

Closing then.

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

Labels

requires-approval-before-merge The pull request requires special approval before it can be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants