From 8d5e1814a0baa21051edf1ee9637802872326445 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 19 Sep 2014 21:40:14 +0200 Subject: [PATCH] WEBUI JS: status tabs - add missing comet shutdown calls --- src/webui/static/app/status.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/webui/static/app/status.js b/src/webui/static/app/status.js index 13caa2b9..f5c8ec25 100644 --- a/src/webui/static/app/status.js +++ b/src/webui/static/app/status.js @@ -156,6 +156,7 @@ tvheadend.status_subs = function(panel, index) function destroyer() { if (subs === null || !tvheadend.dynamic) return; + tvheadend.comet.un('subscriptions', update); dpanel.removeAll() tvheadend.subsStore = null; store.destroy(); @@ -392,6 +393,7 @@ tvheadend.status_streams = function(panel, index) function destroyer() { if (grid === null || !tvheadend.dynamic) return; + tvheadend.comet.un('input_status', update); dpanel.removeAll() tvheadend.streamStatusStore = null; store.destroy(); @@ -497,6 +499,7 @@ tvheadend.status_conns = function(panel, index) { function destroyer() { if (grid === null || !tvheadend.dynamic) return; + tvheadend.comet.un('connections', update); dpanel.removeAll() store.destroy(); store = null;