This method may be queried to determine whether or not the component module can be unloaded by XPCOM.
boolean registerSelf( in nsIComponentManager aCompMgr );
The return value of this method indicates to the caller whether or not the component module can be unloaded. Returning true isn't a guarantee that the module will be unloaded. It constitutes only willingness of the module to be unloaded. It is very important to ensure that no outstanding references to the module's code/data exist before returning true. Returning false guarantees that the module will not be unloaded.
Page last modified 01:43, 24 Apr 2006 by Pmash