mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Hang when setting window title from non-main-thread
This commit is contained in:
@@ -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());
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user