fix: team environment bug when logout (#2970)

This commit is contained in:
Nivedin
2023-04-07 03:00:30 +05:30
committed by GitHub
parent 8caf9f110b
commit b88f496f4e
4 changed files with 17 additions and 24 deletions

View File

@@ -45,6 +45,7 @@ export default class TeamEnvironmentAdapter {
this.teamEnvironmentCreated$ = null
this.teamEnvironmentDeleted$ = null
this.teamEnvironmentUpdated$ = null
this.teamEnvironmentCreatedSub = null
this.teamEnvironmentDeletedSub = null
this.teamEnvironmentUpdatedSub = null
@@ -56,6 +57,7 @@ export default class TeamEnvironmentAdapter {
this.teamEnvironmentCreated$?.unsubscribe()
this.teamEnvironmentDeleted$?.unsubscribe()
this.teamEnvironmentUpdated$?.unsubscribe()
this.teamEnvironmentCreatedSub?.unsubscribe()
this.teamEnvironmentDeletedSub?.unsubscribe()
this.teamEnvironmentUpdatedSub?.unsubscribe()