We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ff5f63 commit 3308b5fCopy full SHA for 3308b5f
README.md
@@ -255,7 +255,11 @@ JSObject obj = xxx.getJSObject("test");
255
int a = obj.getString("123");
256
obj.release();
257
258
-// If the JSFunction does not need to handle the return value, it is recommended to call the following method.
+// If the return value is an object, it also needs to be released,
259
+JSObject ret = jsFunction.call();
260
+ret.release();
261
+
262
+// If you don't need to handle the return value, it is recommended to call the following method.
263
jsFunction.callVoid(xxx);
264
```
265
0 commit comments