Does not call player.dispose() on unMount - potential memory leak
Mike-Bell opened this issue · 1 comments
Mike-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).
Mike-Bell commented
seems safe to say this will not be fixed