fix: LiveQuery server is not shut down properly when handleShutdown is called (#8491)
This commit is contained in:
@@ -1194,7 +1194,9 @@ export class PostgresStorageAdapter implements StorageAdapter {
|
||||
const now = new Date().getTime();
|
||||
const helpers = this._pgp.helpers;
|
||||
debug('deleteAllClasses');
|
||||
|
||||
if (this._client?.$pool.ended) {
|
||||
return;
|
||||
}
|
||||
await this._client
|
||||
.task('delete-all-classes', async t => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user