Christian Biesinger wrote:
Daniel Kirsch wrote:

null is still a value. oVar will not be deleted but will have the value null.


Right. But the object is not referenced anymore, so the next garbage collection (GC) run will delete it and call the destructor (assuming there are no other references, of course).


meaning that there is no way to call C++ destructor manually at the point where the code is executed? while only allowed the garbage collector to do so?
_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to