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?

@neilnachnani neilnachnani force-pushed the add-session-logout branch 2 times, most recently from 78de329 to 1957baa Compare February 2, 2026 00:18
@neilnachnani neilnachnani changed the title sesison logout session logout Feb 2, 2026
@neilnachnani neilnachnani merged commit 417eb23 into main Feb 2, 2026
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