When the session is terminated through the phone, the "client is ready" event is triggered, and then the work stops. I have reviewed other questions, and no one has found a permanent solution. The solutions found cause different errors. It would be great if someone with expertise could address this issue. Best regards to everyone.
Error: EBUSY: resource busy or locked, unlink 'C:\wp.wwebjs_auth\session\lockfile'
Expected behavior
Ensuring the session ends without errors and the session file is deleted
Steps to Reproduce the Bug or Issue
I terminated the session of the connected device through the phone.
Relevant Code
No response
Browser Type
Chromium
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
OS: Windows
Phone OS: Android
whatsapp-web.js version 1.25
Is there an existing issue for this?
Describe the bug
When the session is terminated through the phone, the "client is ready" event is triggered, and then the work stops. I have reviewed other questions, and no one has found a permanent solution. The solutions found cause different errors. It would be great if someone with expertise could address this issue. Best regards to everyone.
Error: EBUSY: resource busy or locked, unlink 'C:\wp.wwebjs_auth\session\lockfile'
Expected behavior
Ensuring the session ends without errors and the session file is deleted
Steps to Reproduce the Bug or Issue
Relevant Code
No response
Browser Type
Chromium
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
OS: Windows Phone OS: Android whatsapp-web.js version 1.25
Additional context
No response