http://code.google.com/p/v8/issues/detail?id=1196&can=8&sort=-status&colspec=ID%20Type%20Status%20Priority%20Owner%20Summary%20HW%20OS%20Area%20Stars

On Jun 8, 7:22 pm, CodeJunkie <[email protected]> wrote:
> This is also with the case with the shell program in the example code.
>
> On Jun 8, 7:05 pm, CodeJunkie <[email protected]> wrote:
>
>
>
>
>
>
>
> > After figuring out how to wrap a class, with the help of another site,
> > I have run into a strange issue ... or undocumented feature ... which
> > there seems to be a lot of.
>
> > When i create an object, lets say EventManager, it calls back to C++
> > and uses the new keyword and wraps itself into several v8 objects.
> > That is fine; however, when I do something like
>
> > var evtMgr = new EventManager();
>
> > and then turn around and do
>
> > delete evtMgr;
>
> > The object still exists. Futhermore, when the program exits it leaves
> > a dangling pointer to the EventManager object that was created. In
> > addition to this, any object or variable that i create by doing
> > NS = {};
> > delete NS;
>
> > Works just fine and
>
> > var foo = 20;
> > delete foo;
>
> > Does not remove the variable. Any thoughts on this?

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to