mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-17 00:24:21 +01:00
await on .close()
This commit is contained in:
@@ -227,7 +227,7 @@ export class Connection {
|
||||
async reconnect(): Promise<void> {
|
||||
try {
|
||||
if (this.isOpen) {
|
||||
this.close();
|
||||
await this.close();
|
||||
}
|
||||
} finally {
|
||||
this.session = new Session(this.config);
|
||||
|
||||
Reference in New Issue
Block a user