Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Drewol committed Mar 29, 2021
2 parents fc2f05a + cb259d0 commit 1d62f6e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Main/src/Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1300,13 +1300,16 @@ void Application::m_Cleanup()
delete img.second;
}

//clear fonts before freeing library
// Clear fonts before freeing library

for (auto &f : g_guiState.fontCahce)
{
f.second.reset();
}
g_guiState.currentFont.reset();

m_fonts.clear();

Discord_Shutdown();

#ifdef EMBEDDED
Expand Down

0 comments on commit 1d62f6e

Please sign in to comment.