|
|
@ -79,6 +79,8 @@ function startup(aData, aReason) { |
|
|
|
function shutdown(aData, aReason) { |
|
|
|
function shutdown(aData, aReason) { |
|
|
|
if (Services.prefs.getBoolPref('extensions.pdf.js.active')) |
|
|
|
if (Services.prefs.getBoolPref('extensions.pdf.js.active')) |
|
|
|
Services.prefs.setBoolPref('extensions.pdf.js.active', false); |
|
|
|
Services.prefs.setBoolPref('extensions.pdf.js.active', false); |
|
|
|
|
|
|
|
if (aReason == APP_SHUTDOWN) |
|
|
|
|
|
|
|
return; |
|
|
|
var ioService = Services.io; |
|
|
|
var ioService = Services.io; |
|
|
|
var resProt = ioService.getProtocolHandler('resource') |
|
|
|
var resProt = ioService.getProtocolHandler('resource') |
|
|
|
.QueryInterface(Ci.nsIResProtocolHandler); |
|
|
|
.QueryInterface(Ci.nsIResProtocolHandler); |
|
|
|