Selaa lähdekoodia

fix(streaming): clear data stream on subject completion

Torkel Ödegaard 9 vuotta sitten
vanhempi
commit
223f2320eb
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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;
       }
     });
   }