aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@protonmail.com>2019-10-03 06:08:52 +0200
committerWladimir J. van der Laan <laanwj@protonmail.com>2019-10-03 06:58:47 +0200
commit07e4bdba3bd46c3a15dedb0a2660453c300643dc (patch)
treef8f640a3962e72252121ebc3652b74b09c53f0bc /src/qt
parentf4a0d27e85754d60804ffa36e415b67c263180b9 (diff)
Don't rename main thread at process level
Set only the internal name. Fixes #17036 for both `bitcoind` and `bitcoin-qt`.
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/bitcoin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp
index ec6075c8fb..86f4dc91a1 100644
--- a/src/qt/bitcoin.cpp
+++ b/src/qt/bitcoin.cpp
@@ -416,7 +416,7 @@ int GuiMain(int argc, char* argv[])
std::tie(argc, argv) = winArgs.get();
#endif
SetupEnvironment();
- util::ThreadRename("main");
+ util::ThreadSetInternalName("main");
std::unique_ptr<interfaces::Node> node = interfaces::MakeNode();