print always

This commit is contained in:
Lion Kortlepel
2021-11-21 03:29:22 +01:00
parent 7169e65305
commit 66d4e34a75
+3 -1
View File
@@ -120,7 +120,9 @@ void RegisterThread(const std::string& str) {
#else
ThreadId = std::to_string(gettid());
#endif
beammp_debug("Thread \"" + str + "\" is TID " + ThreadId);
if (Application::Settings.DebugModeEnabled) {
std::cout << ("Thread \"" + str + "\" is TID " + ThreadId) << std::endl;
}
auto Lock = std::unique_lock(ThreadNameMapMutex);
threadNameMap[std::this_thread::get_id()] = str;
}