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
1 changed files with 3 additions and 0 deletions

View File

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