fix: Crashes on exit due to font deletion

#2287
This commit is contained in:
WerWolv
2025-06-28 22:58:55 +02:00
parent 288f8ee42f
commit 053f7655c3
2 changed files with 3 additions and 2 deletions

View File

@@ -76,7 +76,6 @@ namespace hex::init {
if (ImGui::GetCurrentContext() != nullptr) {
if (ImGui::GetIO().Fonts != nullptr) {
ImGui::GetIO().Fonts->Locked = false;
ImGui::GetIO().Fonts = nullptr;
}
}