mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-09 05:05:29 +00:00
Siddarth Kumar
798ad6d4b3
chore: sleep to avoid race conditions on intel (#15194)
With the help of build flags this commit we sleep for 0.7 seconds before we make calls to the following status-go functions that crash on intel MacOS. - `keycard_go.keycardInitFlow` - `keycard_go.keycardCancelFlow` - `status_go.initializeApplication` As per my investigations this crash happens due to a race condition and was not consistently reproducible. Sometimes it would happen and other times it would not. I know for sure it used to happen in these places and adding a tiny sleep before calling them made sure that the crashes weren't reproducible for me. I think a 2.1 second delay during onboarding would be acceptable vs the existing condition of the desktop app straight up crashing.
…
…
…
…
…
…
Status Desktop
Status Desktop client built with Nim and Qt.
Our Website
Need Help?
Build Instructions
You have an idea for a cool feature or improvement?
Description
Languages
QML
39.4%
JavaScript
29.5%
Nim
18.5%
Python
5.6%
C++
5.2%
Other
1.6%