Skip to content

Conversation

delaneyb
Copy link
Contributor

Fixes EddyVerbruggen/nativescript-plugin-firebase#1728, which seems to have been due to thread switching in the callback at FIRFunctions.m#L187. This issue will affect any native library functions called with a JavaScript object which are then wrapped in a DictionaryAdapter, and then attempt to access or enumerate the DictionaryAdapters contents from another thread.

I have not worked in Objective C nor with V8 internals before. This pull request needs a careful review and testing. Thank you @darind for pointing me in the right direction.

@cla-bot cla-bot bot added the cla: yes label Dec 15, 2020
Copy link
Collaborator

@darind darind left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

firebaseFunctions: calls to httpsCallable functions crash if payload is an object

4 participants