Skip to content

Commit

Permalink
refactored
Browse files Browse the repository at this point in the history
  • Loading branch information
moredure committed Oct 14, 2024
1 parent 91580d9 commit 5feb8ff
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions session.go
Original file line number Diff line number Diff line change
Expand Up @@ -747,9 +747,3 @@ func (s *Session) establishStream(id uint32) {
}
s.streamLock.Unlock()
}

func (s *Session) IsShutdown() bool {
s.shutdownErrLock.Lock()
defer s.shutdownErrLock.Unlock()
return s.shutdownErr != nil
}

0 comments on commit 5feb8ff

Please sign in to comment.