Don't rename main thread at process level

Set only the internal name.

Fixes #17036 for both `bitcoind` and `bitcoin-qt`.
This commit is contained in:
Wladimir J. van der Laan committed 2019-10-03 06:58:47 +02:00
1 parent f4a0d27e85
commit 07e4bdba3b
4 files changed
+12 -2

No files matched your search

+1 -1
View File
@@ -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();