Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
WEBUI JS: status tabs - add missing comet shutdown calls
  • Loading branch information
perexg committed Sep 19, 2014
1 parent a001ef0 commit 8d5e181
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/webui/static/app/status.js
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 8d5e181

Please sign in to comment.