fix: Manually initialize library plugins

This commit is contained in:
WerWolv
2024-01-09 11:31:56 +01:00
parent 037d77f28e
commit 0b5656dcc4
4 changed files with 5 additions and 10 deletions

View File

@@ -390,10 +390,10 @@ namespace hex {
return "";
#elif defined(OS_MACOS) || defined(OS_LINUX)
std::array<char, 256> name;
std::array<char, 256> name = { };
pthread_getname_np(pthread_self(), name.data(), name.size());
return name;
return name.data();
#elif defined(OS_WEB)
return "";
#else