Merge pull request #1342 from jhfrontz/macos-arm-qt-thread-stack-parity

Ensure that arm-macos environments have sufficient QT thread stack
This commit is contained in:
Pablo Greco 2024-07-18 00:56:18 -07:00 committed by GitHub
commit 5a07eec02b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -579,6 +579,10 @@ RPCConsole::RPCConsole(interfaces::Node& node, const PlatformStyle *_platformSty
clear();
GUIUtil::handleCloseWindowShortcut(this);
#if defined(Q_OS_MAC) && defined(__aarch64__)
// MacOS default is apparently 0x80000, too small for MacOS arm; use linux-like size instead
thread.setStackSize(0x800000);
#endif
}
RPCConsole::~RPCConsole()