Re: [v8-users] Help with setting local js variable to Null()

2013-01-21 Thread ioannis
Thank you for the reply. Basically what I want to achieve is the following. Consider this js example After my ReleaseObject() function is called x = is still a "point" object At the second print(x) i would like my variable to be null, or report as null without explicitly setting it to null with "

Re: [v8-users] Help with setting local js variable to Null()

2013-01-21 Thread Stephan Beal
On Mon, Jan 21, 2013 at 1:53 PM, ioannis wrote: > // (2) If args[0] is a global object then remove the object form > global scope > Local global = self->CreationContext()->Global(); > This part is not necessary. You already do: > // (3) Delete the c++ object and call its dest