Browse Source

UI: fix crash at exit with Dear ImGui.

legacy
Sam Hocevar 6 years ago
parent
commit
709f8d63f1
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/lolimgui.cpp

+ 2
- 0
src/lolimgui.cpp View File

@@ -158,6 +158,8 @@ io.AddInputCharacter((unsigned short)c);

void LolImGui::Shutdown()
{
ImGui::EndFrame();

if (g_lolimgui)
{
Ticker::Unref(g_lolimgui);


Loading…
Cancel
Save