We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cc1a69 commit fea8402Copy full SHA for fea8402
packages/cubejs-client-core/src/index.ts
@@ -258,7 +258,10 @@ class CubeApi {
258
const checkMutex = async () => {
259
const requestInstance = await requestPromise;
260
261
- if (options?.mutexObj?.[mutexKey] !== mutexValue) {
+ if (options &&
262
+ options.mutexObj &&
263
+ options.mutexObj[mutexKey] !== mutexValue
264
+ ) {
265
unsubscribed = true;
266
if (requestInstance.unsubscribe) {
267
await requestInstance.unsubscribe();
0 commit comments