Skip to content

Commit aaa7cd5

Browse files
authored
cacheable - fix: adding in disconnect for sync (#1442)
1 parent c2038d8 commit aaa7cd5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/cacheable/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -796,6 +796,8 @@ export class Cacheable extends Hookified {
796796
promises.push(this._secondary.disconnect());
797797
}
798798

799+
promises.push(this._sync?.qified.disconnect());
800+
799801
await (this._nonBlocking ? Promise.race(promises) : Promise.all(promises));
800802
}
801803

0 commit comments

Comments
 (0)