zen wrote:
Assigning  oVar=null in javascript won't call my destructor.

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

To delete a variable use the delete operator:

delete oVar;

this should call your destructor.

Daniel
_______________________________________________
Mozilla-xpcom mailing list
Mozilla-xpcom@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to