Assuming you're talking about v8::Context::SetEmbedderData(int index,
Local<Value> value), you can clear the slot by writing a JS null (get it
with v8::Null(Isolate* isolate)) into it.


On Wed, Mar 1, 2023 at 10:13 AM Victor Polevoy <vityatheb...@gmail.com>
wrote:

> I am repeating this post as I couldn't find it in the lists after I posted
> it the last time.
> I am looking for the way to delete the data set by "SetEmbedderData()" at
> a specific slot. I couldn't find a method to delete it, and setting a
> "NULL" value there is prohibited, so I have to ask for help here.
>
> --
> --
> v8-dev mailing list
> v8-dev@googlegroups.com
> http://groups.google.com/group/v8-dev
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to v8-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/v8-dev/82f2ec3a-c428-420b-a6fe-e41082b1a229n%40googlegroups.com
> <https://groups.google.com/d/msgid/v8-dev/82f2ec3a-c428-420b-a6fe-e41082b1a229n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-dev/CAKSzg3QwOiPY%2BMOreX96B3r_Q3-LtJs4xVikK%3D79J_V5%2B3%2Bsig%40mail.gmail.com.

Reply via email to