Skip to content

Commit a6dafae

Browse files
committed
Lua: Fix imgui cleanup not running after on_draw_ui
1 parent 470fe85 commit a6dafae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mods/ScriptRunner.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,7 @@ void ScriptState::on_draw_ui() {
457457
ScriptRunner::get()->spew_error("Unknown error in on_draw_ui");
458458
}
459459

460+
api::imgui::cleanup();
460461
api::imnodes::cleanup();
461462
}
462463

0 commit comments

Comments
 (0)