mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Reset Prometheus metrics provider on disconnect (#6158)
This commit is contained in:
parent
4ad47f93bc
commit
ba49ede36c
@ -207,6 +207,8 @@ export class ContextHandler implements ClusterContextHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stopServer() {
|
stopServer() {
|
||||||
|
this.prometheus = undefined;
|
||||||
|
this.prometheusProvider = undefined;
|
||||||
this.kubeAuthProxy?.exit();
|
this.kubeAuthProxy?.exit();
|
||||||
this.kubeAuthProxy = undefined;
|
this.kubeAuthProxy = undefined;
|
||||||
this.apiTarget = undefined;
|
this.apiTarget = undefined;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user