fix: Hang when setting window title from non-main-thread

This commit is contained in:
WerWolv
2025-08-28 23:22:02 +02:00
parent 72364db768
commit ff70518882

View File

@@ -724,7 +724,9 @@ namespace hex::plugin::builtin {
title = wolv::util::replaceStrings(title, DefaultImHexTitle, s_applicationName);
glfwSetWindowTitle(window, title.c_str());
TaskManager::doLater([window, title] {
glfwSetWindowTitle(window, title.c_str());
});
}
});