Skip to content

Commit

Permalink
[WIP] fix: stop scene if needed before halting engine
Browse files Browse the repository at this point in the history
  • Loading branch information
iWas-Coder committed Oct 4, 2024
1 parent b727877 commit 5e7493e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/App/Entrypoint.hh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ int main(void) {
renderer.WaitIdle(t);
}

if (scene.IsRunning()) scene.Stop();

app->Stop(scene);
delete app;
}

0 comments on commit 5e7493e

Please sign in to comment.