Merge pull request #15 from Pranomvignesh/check-worker

fix(workerManager.js) : Added a check for the existence of the worker
This commit is contained in:
Alexandru Dima 2021-08-17 15:41:37 +02:00 committed by GitHub
commit a53ac54f4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,7 +80,9 @@ export class WorkerManager {
_client = client;
})
.then((_) => {
if (this._worker) {
return this._worker.withSyncedResources(resources);
}
})
.then((_) => _client);
}