浏览代码

fix(streaming): clear data stream on subject completion

Torkel Ödegaard 9 年之前
父节点
当前提交
223f2320eb
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      public/app/features/panel/metrics_panel_ctrl.ts

+ 1 - 0
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;
       }
     });
   }