fix(nim_status_client): Increased JS engine stack size

This commit is contained in:
Igor Sirotin 2022-08-11 15:09:03 +03:00 committed by Jonathan Rainville
parent 0c286e2a53
commit b15befe65a
1 changed files with 3 additions and 0 deletions

View File

@ -100,6 +100,9 @@ proc mainProc() =
installSelfSignedCertificate(imageCert)
let app = newQGuiApplication()
# NOTE: https://github.com/status-im/status-desktop/issues/6930
# We increase js stack size to prevent "Maximum call stack size exceeded" on UI loading.
os.putEnv("QV4_JS_MAX_STACK_SIZE", "10485760")
os.putEnv("QT_QUICK_CONTROLS_HOVER_ENABLED", "1")
let appController = newAppController(statusFoundation)
let singleInstance = newSingleInstance($toMD5(DATADIR), openUri)