Merge pull request #3601 from jmozmoz/unregister

Really call unregister for _pdfRedirectorFactory (fixing issue #3598)
This commit is contained in:
Yury Delendik 2013-08-21 08:57:49 -07:00
commit 0d1c5ece40

View File

@ -254,7 +254,7 @@ let PdfJs = {
this._pdfStreamConverterFactory.unregister();
delete this._pdfStreamConverterFactory;
this._pdfRedirectorFactory.unregister;
this._pdfRedirectorFactory.unregister();
delete this._pdfRedirectorFactory;
Svc.pluginHost.unregisterPlayPreviewMimeType(PDF_CONTENT_TYPE);