Does not call player.dispose() on unMount - potential memory leak
Mike-Bell opened this issue · comments
m.bell commented
On componentWillUnmount
, we should call this.player && this.player.dispose();
. Failing to do so will lead to memory leaks in the scenario that the component is dynamically added and removed on your page (found this out the hard way).
m.bell commented
seems safe to say this will not be fixed