Closed smashah closed 4 years ago
Detect when client has been refreshed and then reinject wapi, and make a method to force client to refresh and reinject the page. This may be a good way to manage memory usage
You can now refresh the page as a possible remedy to increased memory usage. Please see the documentation
await client.refresh()
https://open-wa.github.io/wa-automate-nodejs/classes/client.html#refresh
Detect when client has been refreshed and then reinject wapi, and make a method to force client to refresh and reinject the page. This may be a good way to manage memory usage