mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
(Android) Cleanup Android sensor manager event queue in android_input_free
function
This commit is contained in:
parent
18d7e6f81e
commit
683bda4e05
@ -2063,6 +2063,11 @@ static bool android_input_key_pressed(void *data, int key)
|
||||
|
||||
static void android_input_free_input(void *data)
|
||||
{
|
||||
android_input_t *android = (android_input_t*)data;
|
||||
if (!android)
|
||||
return;
|
||||
|
||||
ASensorManager_destroyEventQueue(android->sensorManager, android->sensorEventQueue);
|
||||
free(data);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user