diff --git a/src/App/Entrypoint.hh b/src/App/Entrypoint.hh index b128a82..a0c09ba 100644 --- a/src/App/Entrypoint.hh +++ b/src/App/Entrypoint.hh @@ -61,6 +61,8 @@ int main(void) { renderer.WaitIdle(t); } + if (scene.IsRunning()) scene.Stop(); + app->Stop(scene); delete app; }