From b09d30a32f2d304bf2dfa765cced58a061452381 Mon Sep 17 00:00:00 2001 From: Matteo De Carlo Date: Tue, 17 Jan 2023 17:07:32 +0100 Subject: [PATCH] avoid double `SDL_Quit()` (#625) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `SDL_Quit` is already called by the smart pointer de-constructor Co-authored-by: Turánszki János --- Editor/main_SDL2.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Editor/main_SDL2.cpp b/Editor/main_SDL2.cpp index 4edf6c39c..b2894544c 100644 --- a/Editor/main_SDL2.cpp +++ b/Editor/main_SDL2.cpp @@ -160,6 +160,5 @@ int main(int argc, char *argv[]) int ret = sdl_loop(editor); - SDL_Quit(); return ret; }