var evtMgr = new EventManager();
and then turn around and do
delete evtMgr;
The object still exists.
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?
/Lasse
--
Lasse R.H. Nielsen
l...@chromium.org
Now X is lost and dangling. The C++ destructor is never called, even
at program exit.
In other words, you have to go out of your way to delete C++ objects
which would most likely mean that you would have to have your own
memory management scheme to deal with it. So this means V8 is geared
more towards browsers than for general purpose use and should really...