Closed lread closed 2 years ago
When calling JSObjectCallAsFunction, the arguments parameter should be NULL when the argumentCount parameter is 0.
JSObjectCallAsFunction
arguments
NULL
argumentCount
But... we were passing an empty array for the arguments parameter.
There is something new/different in Ubuntu 22.04 that raises a warning around this.
Closes #1089
@lread Cool! Please also add a line in the CHANGELOG.md file (a new entry in the Unreleased Fixed section near the top).
CHANGELOG.md
When calling
JSObjectCallAsFunction
, thearguments
parameter should beNULL
when theargumentCount
parameter is 0.But... we were passing an empty array for the
arguments
parameter.There is something new/different in Ubuntu 22.04 that raises a warning around this.
Closes #1089