Also clear `GuiApi`'s image cache when restarting

This commit is contained in:
James Groom 2023-10-04 05:21:22 +10:00 committed by GitHub
parent 0d4a1a6b26
commit 27c5b0e9b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -642,6 +642,7 @@ namespace BizHawk.Client.Common
UnlockSurface(DisplaySurfaceID.Client);
foreach (var brush in _solidBrushes.Values) brush.Dispose();
foreach (var brush in _pens.Values) brush.Dispose();
ClearImageCache();
}
}
}