diff --git a/src/dispatch/central-dispatch.js b/src/dispatch/central-dispatch.js index 6dd236255..a53e50d79 100644 --- a/src/dispatch/central-dispatch.js +++ b/src/dispatch/central-dispatch.js @@ -83,7 +83,7 @@ class CentralDispatch extends SharedDispatch { const provider = this.services[service]; return provider && { provider, - isRemote: provider instanceof this.workerClass + isRemote: Boolean(this.workerClass && provider instanceof this.workerClass) }; }