Skip to content

Commit

Permalink
Lua: Fix imgui cleanup not running after on_draw_ui
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Oct 26, 2024
1 parent 470fe85 commit a6dafae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mods/ScriptRunner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ void ScriptState::on_draw_ui() {
ScriptRunner::get()->spew_error("Unknown error in on_draw_ui");
}

api::imgui::cleanup();
api::imnodes::cleanup();
}

Expand Down

0 comments on commit a6dafae

Please sign in to comment.