fix(nim_status_client): Increased JS engine stack size
This commit is contained in:
parent
0c286e2a53
commit
b15befe65a
|
@ -100,6 +100,9 @@ proc mainProc() =
|
||||||
installSelfSignedCertificate(imageCert)
|
installSelfSignedCertificate(imageCert)
|
||||||
|
|
||||||
let app = newQGuiApplication()
|
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")
|
os.putEnv("QT_QUICK_CONTROLS_HOVER_ENABLED", "1")
|
||||||
let appController = newAppController(statusFoundation)
|
let appController = newAppController(statusFoundation)
|
||||||
let singleInstance = newSingleInstance($toMD5(DATADIR), openUri)
|
let singleInstance = newSingleInstance($toMD5(DATADIR), openUri)
|
||||||
|
|
Loading…
Reference in New Issue