MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See whistlepig.mozilla.org for all notifications.

mozilla

Compare Revisions

Components.utils.unload

Change Revisions

Revision 39509:

Revision 39509 by Sheppy on

Revision 39510:

Revision 39510 by Mossop on

Title:
Components.utils.unload
Components.utils.unload
Slug:
Components.utils.unload
Components.utils.unload
Tags:
NeedsTechnicalReview, Modules
NeedsTechnicalReview, Modules
Content:

Revision 39509
Revision 39510
nn15    </p>
16    <p>
17      You should not unload modules that are part of the applicat
 >ion (anything under <code><a class=" external" href="resource://g
 >re/" rel="freelink">resource://gre/</a></code> or <code>resource:
 >///</code> or <code><a class=" external" href="resource://app/" r
 >el="freelink">resource://app/</a></code>) as these may be in use 
 >by other extensions and the application. Only unload modules you 
 >include as part of your extension.
t40Components.utils.unload("<span class="nowiki">resource://gre/modut43Components.utils.unload("<span class="nowiki">resource://myaddon/
>les/XPCOMUtils.jsm</span>");>modules/MyModule.jsm</span>");

Back to History