Add some manual cleanup (experiemental)

This commit is contained in:
scawful
2023-10-22 16:18:46 -04:00
parent 82cca80191
commit ce2ff06d60
4 changed files with 32 additions and 2 deletions

View File

@@ -157,7 +157,8 @@ void Controller::DoRender() const {
SDL_RenderPresent(renderer_.get());
}
void Controller::OnExit() const {
void Controller::OnExit() {
master_editor_.Shutdown();
Mix_CloseAudio();
ImGui_ImplSDLRenderer2_Shutdown();
ImGui_ImplSDL2_Shutdown();