mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-23 12:08:53 +00:00
fix: bring intel macos delay for keycard service V2
This commit is contained in:
parent
f6f66bccf3
commit
8898ac9923
@ -70,6 +70,12 @@ QtObject:
|
|||||||
discard
|
discard
|
||||||
|
|
||||||
proc initializeRPC(self: Service) {.slot.} =
|
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()
|
let response = keycard_go.keycardInitializeRPC()
|
||||||
debug "initializeRPC response", response
|
debug "initializeRPC response", response
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user