Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bg5sbk committed Mar 24, 2017
1 parent 42d7f16 commit 4c3ad4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions session.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ func (session *Session) Send(msg interface{}) error {

session.sendMutex.RLock()
if session.IsClosed() {
session.sendMutex.RUnlock()
return SessionClosedError
}

Expand Down

0 comments on commit 4c3ad4f

Please sign in to comment.