Skip to content

Commit

Permalink
Ensure that arm-macos environments have sufficient QT thread stack
Browse files Browse the repository at this point in the history
  • Loading branch information
jhfrontz committed Jul 17, 2024
1 parent cdcc74b commit 9853992
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/qt/rpcconsole.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 9853992

Please sign in to comment.