-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ios): properly detect when optional callback is not supplied
The new JSC API will give us a JSValue* that represents undefined. We only checked the pointer/value was nil. We need to guard for nil and verify the JSValue is a function (or not use/call the callback) Fixes TIMOB-27846
- Loading branch information
1 parent
47d7ae9
commit b5bb437
Showing
2 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters