Skip to content

Conversation

@neilnachnani
Copy link
Collaborator

No description provided.

func (s *SessionSuite) TestOnAdminStop() {
s.session.State = logonState{}

s.session.onAdmin(stopReq{})

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

}

// StopSession logs out a specific session, closes its connection, and stops it.
func (a *Acceptor) StopSession(sessionID SessionID) error {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you not need to call UnregisterSession?

address PR review: add UnregisterSession call, fix indentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants