[core] Wait till the store is closed
This commit is contained in:
1 parent
a2d0dfd8b2
commit
4cd9ce0ff7
1 file changed
+1
-1
@@ -443,8 +443,8 @@ export class WhatsappSessionNoWebCore extends WhatsappSession {
|
||||
// @ts-ignore
|
||||
this.sock?.ev?.removeAllListeners();
|
||||
this.sock?.ws?.removeAllListeners();
|
||||
await this.store?.close();
|
||||
this.sock?.end(undefined);
|
||||
this.store?.close();
|
||||
}
|
||||
|
||||
getSessionMeInfo(): MeInfo | null {
|
||||
|
||||
Reference in new issue
Block a user