When am I expected to call V8Entity_Release and V8Entity_DestroyHandle? #623
Replies: 1 comment 2 replies
-
Hi @AnsisMalins, First, please understand that ClearScript's native assembly interface is not a public API and could change in future versions.
The native version of
Again, it depends on the Thanks! |
Beta Was this translation helpful? Give feedback.
-
Can I get some hints re: when am I expected to clean things up when talking to the C++ side of ClearScript directly? Do I need to clean up any of the values that I receive from the callbacks in V8SplitProxyManaged (for example, GetHostObjectNamedProperty)? When I receive e.g. a Uint8Array (as a V8Value that I then decode to a pointer to the array) as an argument in a function call, do I need to release it when I'm done?
What of this example? What, if anything, is it leaking?
Beta Was this translation helpful? Give feedback.
All reactions