Only allow extensions to use non-lens specific cluster phases (#4036)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-10-14 10:25:48 -04:00
1 parent a01eecdc79
commit 9d5689ce69
5 files changed
+50 -16

No files matched your search

+1 -1
View File
@@ -394,7 +394,6 @@ export class Cluster implements ClusterModel, ClusterState {
* @internal
*/
@action disconnect() {
logger.info(`[CLUSTER]: disconnect`, this.getMeta());
this.unbindEvents();
this.contextHandler?.stopServer();
this.disconnected = true;
@@ -405,6 +404,7 @@ export class Cluster implements ClusterModel, ClusterState {
this.allowedNamespaces = [];
this.resourceAccessStatuses.clear();
this.pushState();
logger.info(`[CLUSTER]: disconnect`, this.getMeta());
}
/**