1 2 3 4 5
registerCleanupFunction(function () { Services.startup.advanceShutdownPhase( Services.startup.SHUTDOWN_PHASE_APPSHUTDOWNCONFIRMED ); });