From 5feb8ff97dd872dab137d5b60c70f1d07d48b435 Mon Sep 17 00:00:00 2001 From: Mykhailo Faraponov Date: Mon, 14 Oct 2024 10:23:28 +0200 Subject: [PATCH] refactored --- session.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/session.go b/session.go index d1b98d0..4d8a4fd 100644 --- a/session.go +++ b/session.go @@ -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 -}