mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-06-08 15:16:40 +00:00
Fix AsyncProxy tests
This commit is contained in:
parent
da3dbf7acc
commit
d25c90bff1
@ -55,7 +55,9 @@ function AsyncProxy(path, options) {
|
||||
this.seedRandom(INITIAL_RANDOM_SEED);
|
||||
// FIFO
|
||||
this.tasks = [];
|
||||
this.worker.postMessage({event: 'configure', config: options.config});
|
||||
if (options && options.config) {
|
||||
this.worker.postMessage({event: 'configure', config: options.config});
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user