add close feature

This commit is contained in:
2025-04-12 20:26:12 -05:00
parent dea35c2a5e
commit 372e46168f
3 changed files with 24 additions and 17 deletions

View File

@@ -30,7 +30,7 @@ void TestImgui::run() {
if(demo)
ImGui::ShowDemoWindow(&this->demo);
else
app->end();
app->stopModule(getName());
{
ImGuiIO& io = ImGui::GetIO();