Closed bchelkowski closed 3 years ago
After using NewRelicVideoStart the video node reference is saved in the scope of the new relic agent. https://github.com/newrelic/video-agent-roku/blob/master/components/NewRelicAgent/NRAgent.brs#L58
Even when we remove nodes with a player view, the player instance is still existing and the video is still "alive".
Could you add a function for example NewRelicVideoStop that will clear this reference so the video component will be destroyed properly?
NewRelicVideoStop
I added a PR with a proposal for the change.
After using NewRelicVideoStart the video node reference is saved in the scope of the new relic agent. https://github.com/newrelic/video-agent-roku/blob/master/components/NewRelicAgent/NRAgent.brs#L58
Even when we remove nodes with a player view, the player instance is still existing and the video is still "alive".
Could you add a function for example
NewRelicVideoStop
that will clear this reference so the video component will be destroyed properly?