Skip to content
Commit c2e7ceb2 authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

audio: Fix for IPlayerShell object leak.



IPlayerShell object is created for each MediaPlayer object and
this will register to linkToDeath, which will have global
reference. IPlayerShell release method is unregistering to Death
monitor. Here IPlayerShell object is not released at all, when
application releases mediaplayer object. As linkToDeath will have
global reference for each IPlayerShell object, GC will not be able
to clear this object.

Fix is to call IPlayerShell release when application releases
mediaplayer object.

authored-by: default avatarDivya Narayanan Poojary <dnaray@codeaurora.org>
Test: manual
Bug: 65374542

Change-Id: Icbd7632d462d44efdbb851c1c8a662bdef0e551c
parent 4c1ad8fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment