2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-05 17:15:52 +00:00

Aurora: Fix crash on exit

This commit is contained in:
Phillip Stephens 2022-02-16 00:24:43 -08:00
parent ea3641153e
commit 683af1a9ea
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D

View File

@ -169,6 +169,9 @@ void app_run(std::unique_ptr<AppDelegate> app, Icon icon) noexcept {
while (poll_events()) {} while (poll_events()) {}
g_SwapChain.Release();
g_Queue.Release();
g_Device.Release();
SDL_DestroyWindow(g_Window); SDL_DestroyWindow(g_Window);
SDL_Quit(); SDL_Quit();
} }