I are using three main things to track the time on user desktop machine
- SetTimeout and Interval (For updating the time and store the data of mintplus and screen Short in local database)
- Better-Queue (for sending the data to backend server)
- UiHooks to calculate the mouse and keystrokes
But issue is when we launch the build on different user s Macbook after sometime app goes on not responding (sometime I get app not responding in week or sometime in two week) but on window and linux it working fine
I check everything but I did t find any sequence through this I understand why app not responding come
Is there any suggestion and anyone face same issue ?
- I try to implement crash reports to find the issue but not get anything
- Change the setTimeout and interval with Node-Cron package but still issue there
can you post your sample code in a codesandbox? Maybe you forgot to cleanup the setTimeout or setInterval if you are using it in an useEffect ?