Add some manual cleanup (experiemental)
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -27,7 +27,7 @@ class Controller {
|
||||
void OnInput();
|
||||
void OnLoad();
|
||||
void DoRender() const;
|
||||
void OnExit() const;
|
||||
void OnExit();
|
||||
|
||||
private:
|
||||
struct sdl_deleter {
|
||||
|
||||
Reference in New Issue
Block a user