[core] WEBJS - cancel check engine state job

This commit is contained in:
devlikepro committed 2024-09-27 16:34:39 +07:00
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();