From 223f2320eb890e4ee0fefd33a4fa045f23727742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 23 Nov 2016 17:12:30 +0100 Subject: [PATCH] fix(streaming): clear data stream on subject completion --- public/app/features/panel/metrics_panel_ctrl.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/public/app/features/panel/metrics_panel_ctrl.ts b/public/app/features/panel/metrics_panel_ctrl.ts index 373f2bd910a..5bb76e9fd45 100644 --- a/public/app/features/panel/metrics_panel_ctrl.ts +++ b/public/app/features/panel/metrics_panel_ctrl.ts @@ -252,6 +252,7 @@ class MetricsPanelCtrl extends PanelCtrl { }, complete: () => { console.log('panel: observer got complete'); + this.dataStream = null; } }); }