Use the worker created in the child actor (bug 1966721)
This commit is contained in:
parent
b3ccc55c1d
commit
f01b13d332
@ -502,7 +502,10 @@ const defaultOptions = {
|
||||
|
||||
workerPort: {
|
||||
/** @type {Object} */
|
||||
value: null,
|
||||
value:
|
||||
typeof PDFJSDev !== "undefined" && PDFJSDev.test("MOZCENTRAL")
|
||||
? globalThis.pdfjsPreloadedWorker
|
||||
: null,
|
||||
kind: OptionKind.WORKER,
|
||||
},
|
||||
workerSrc: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user