fix: remove lifecycle listener after component unmount (#3489)
- fix issue #3488
This commit is contained in:
parent
e1899cf925
commit
3858a15b42
@ -361,6 +361,7 @@ public class ReactExoplayerView extends FrameLayout implements
|
||||
|
||||
public void cleanUpResources() {
|
||||
stopPlayback();
|
||||
themedReactContext.removeLifecycleEventListener(this);
|
||||
}
|
||||
|
||||
//BandwidthMeter.EventListener implementation
|
||||
|
Loading…
Reference in New Issue
Block a user