mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Drop the gameinfocache correctly on shutdown, avoiding a log flood and
possible mem leak on android.
This commit is contained in:
parent
eaa59f9bfe
commit
3c653cb3fc
3 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
2
lang
2
lang
|
@ -1 +1 @@
|
|||
Subproject commit 955d9cde6c01a0950f76b1a6e92e2d972ca5c737
|
||||
Subproject commit 92e5e45e316f73710882bf82ef8fe43f5192d0f2
|
2
native
2
native
|
@ -1 +1 @@
|
|||
Subproject commit bd93cd2f1e02fbd25696a1ea21720d4fb3f48280
|
||||
Subproject commit ca7eb305e44b75307ff904f73e4e946f5a9f1395
|
Loading…
Add table
Reference in a new issue