diff --git a/src/app_service/service/keycardV2/service.nim b/src/app_service/service/keycardV2/service.nim index 0fe2a0b561..189c5a382e 100644 --- a/src/app_service/service/keycardV2/service.nim +++ b/src/app_service/service/keycardV2/service.nim @@ -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