From ad61815cad90e6f9b946307049db9a454329e71f Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 11 Oct 2020 20:55:49 +1000 Subject: [PATCH] GameList: Don't keep cache open after rewriting --- src/frontend-common/game_list.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontend-common/game_list.cpp b/src/frontend-common/game_list.cpp index d23c13505..d6317f671 100644 --- a/src/frontend-common/game_list.cpp +++ b/src/frontend-common/game_list.cpp @@ -434,6 +434,8 @@ void GameList::RewriteCacheFile() break; } } + + CloseCacheFileStream(); } }