mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 06:20:26 +02:00
Drop the gameinfocache correctly on shutdown, avoiding a log flood and
possible mem leak on android.
This commit is contained in:
1 parent
eaa59f9bfe
commit
3c653cb3fc
3 files changed
+5
-3
No files matched your search
+3
-1
@@ -533,7 +533,7 @@ void NativeUpdate(InputState &input) {
|
||||
|
||||
UIUpdateMouse(0, input.pointer_x[0], input.pointer_y[0], input.pointer_down[0]);
|
||||
screenManager->update(input);
|
||||
}
|
||||
}
|
||||
|
||||
void NativeDeviceLost() {
|
||||
g_gameInfoCache.Clear();
|
||||
@@ -573,6 +573,8 @@ void NativeMessageReceived(const char *message, const char *value) {
|
||||
}
|
||||
|
||||
void NativeShutdownGraphics() {
|
||||
g_gameInfoCache.Clear();
|
||||
|
||||
delete uiTexture;
|
||||
uiTexture = NULL;
|
||||
|
||||
|
||||
Reference in new issue
Block a user