fix: bring intel macos delay for keycard service V2

This commit is contained in:
Igor Sirotin 2025-02-20 17:50:13 +03:00
parent f6f66bccf3
commit 8898ac9923
No known key found for this signature in database
GPG Key ID: 425E227CAAB81F95

View File

@ -70,6 +70,12 @@ QtObject:
discard
proc initializeRPC(self: Service) {.slot.} =
# Do not remove the sleep 700
# This sleep prevents a crash on intel MacOS
# with errors like bad flushGen 12 in prepareForSweep; sweepgen 0
# More info: https://github.com/status-im/status-desktop/pull/15194
if status_const.IS_MACOS and status_const.IS_INTEL:
sleep 700
let response = keycard_go.keycardInitializeRPC()
debug "initializeRPC response", response