From 395d12983dbc4dabb6e5c6634e26214af46fbe18 Mon Sep 17 00:00:00 2001 From: Tomasz Rejment Date: Mon, 2 Aug 2021 15:01:20 +0200 Subject: [PATCH] fixed hbTimer callback attachment --- CHANGELOG.md | 4 ++++ components/NewRelicAgent/NRAgent.brs | 2 +- components/NewRelicAgent/NRAgent.xml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cfb4853..ed7ecab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # CHANGELOG All notable changes to this project will be documented in this file. +## [1.3.4] - 2021/08/02 +### Fix +- Fix hbTimer callback attachment + ## [1.3.3] - 2021/06/18 ### Fix - Fix NewRelicVideoStop function - remove license status observer. diff --git a/components/NewRelicAgent/NRAgent.brs b/components/NewRelicAgent/NRAgent.brs index 3ff3901..a41b516 100644 --- a/components/NewRelicAgent/NRAgent.brs +++ b/components/NewRelicAgent/NRAgent.brs @@ -87,7 +87,7 @@ function NewRelicVideoStart(videoObject as Object) as Void 'Init heartbeat timer m.hbTimer = m.top.findNode("nrHeartbeatTimer") - m.hbTimer.ObserveField("fire", "nrHeartbeatHandler") + m.hbTimer.observeFieldScoped("fire", "nrHeartbeatHandler") m.hbTimer.control = "start" 'Player Ready diff --git a/components/NewRelicAgent/NRAgent.xml b/components/NewRelicAgent/NRAgent.xml index 7e8ddf9..35b836b 100644 --- a/components/NewRelicAgent/NRAgent.xml +++ b/components/NewRelicAgent/NRAgent.xml @@ -13,7 +13,7 @@ - +