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);
|
this.seedRandom(INITIAL_RANDOM_SEED);
|
||||||
// FIFO
|
// FIFO
|
||||||
this.tasks = [];
|
this.tasks = [];
|
||||||
this.worker.postMessage({event: 'configure', config: options.config});
|
if (options && options.config) {
|
||||||
|
this.worker.postMessage({event: 'configure', config: options.config});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user