mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-23 08:38:06 +02:00
remove PDFWorker from cache after detsroy
This commit is contained in:
parent
5b7f712ca7
commit
9b1b160d4f
1 changed files with 1 additions and 0 deletions
|
@ -1519,6 +1519,7 @@ var PDFWorker = (function PDFWorkerClosure() {
|
|||
this._webWorker.terminate();
|
||||
this._webWorker = null;
|
||||
}
|
||||
pdfWorkerPorts.delete(this._port);
|
||||
this._port = null;
|
||||
if (this._messageHandler) {
|
||||
this._messageHandler.destroy();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue