zen wrote:
Hi all,
As we know, we can create instance of the C++ XPCOM interface by:
var oVar =
Components.classes["..."].createInstance(Components.interfaces....);
but, how can i calling the destructor manually?
Assigning oVar=null in javascript won't call my destructor.
This is because of the garbage collection in javascript. The XPCOM object
you created will continue to exist until the next garbage collection cycle.
--BDS
_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom