[core] WEBJS - cancel check engine state job
This commit is contained in:
1 parent
9147dd9925
commit
0430b0ed53
1 file changed
+1
@@ -242,6 +242,7 @@ export class WhatsappSessionWebJSCore extends WhatsappSession {
|
||||
}
|
||||
|
||||
private async end() {
|
||||
this.engineStateCheckDelayedJob.cancel();
|
||||
try {
|
||||
this.whatsapp?.removeAllListeners();
|
||||
this.whatsapp?.pupBrowser?.removeAllListeners();
|
||||
|
||||
Reference in new issue
Block a user