Skip to content

Commit

Permalink
clear sessions if API session expired (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoby authored Feb 10, 2021
1 parent de828ef commit ddfeffc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ziti/src/main/kotlin/org/openziti/impl/ZitiContextImpl.kt
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ internal class ZitiContextImpl(internal val id: Identity, enabled: Boolean) : Zi
listOf(apiSessionUpdate, serviceUpdate).forEach {
it.cancelAndJoin()
}

networkSessions.clear()
}
}

Expand Down

0 comments on commit ddfeffc

Please sign in to comment.