Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setSession to nil when recreating to avoid unncessary call to CloseSe…
…ssion. In the client.go monitor loop, the recreateSession action builds a new session on the assumption that the server is no longer holding the previous. It does not clear the value of atomicSession, which leads to CloseSession being called in ActivateSession even if there are no old sessions to be removed. This behvior was referenced in issue #673.
- Loading branch information