mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Reset Prometheus metrics provider on disconnect
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
parent
37318cab4e
commit
2e5582e8d8
@ -207,6 +207,8 @@ export class ContextHandler implements ClusterContextHandler {
|
||||
}
|
||||
|
||||
stopServer() {
|
||||
this.prometheus = undefined;
|
||||
this.prometheusProvider = undefined;
|
||||
this.kubeAuthProxy?.exit();
|
||||
this.kubeAuthProxy = undefined;
|
||||
this.apiTarget = undefined;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user