From 90bf7233173e06fdc02479d143ed16d1cdb9fd89 Mon Sep 17 00:00:00 2001 From: r3tk0n Date: Thu, 18 Oct 2018 10:31:39 -0700 Subject: [PATCH] Fix unsubscribing from message channel in teardown() --- unpublishedScripts/marketplace/record/record.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unpublishedScripts/marketplace/record/record.js b/unpublishedScripts/marketplace/record/record.js index 8e49589e3c..4786356fee 100644 --- a/unpublishedScripts/marketplace/record/record.js +++ b/unpublishedScripts/marketplace/record/record.js @@ -395,7 +395,7 @@ Script.clearInterval(updateTimer); Messages.messageReceived.disconnect(onMessageReceived); - Messages.subscribe(HIFI_RECORDER_CHANNEL); + Messages.unsubscribe(HIFI_RECORDER_CHANNEL); } return {