In the following sample code 
from: https://v8.dev/docs/embed#accessing-dynamic-variables

Point* p = ...;
v8::Local<v8::Object> obj = point_templ->NewInstance();
obj->SetInternalField(0, v8::External::New(isolate, p));

Is there a way to know when `p` has been finished with? I would like to 
know when/how to delete the allocated memory.

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-users/35da1cb6-888b-43fd-8849-4fe32693b19en%40googlegroups.com.

Reply via email to