Closed 9bie closed 9 months ago
Thanks for identifying a problem, I'll take a look.
I think the problem occurs when the tcp connection close before manually ending the session. One reason for this could be the idle timeout period after which a server will close the connection.
I've added a check in release v0.3.7 which should hopefully solve the issue.
I used example for my Project.
but some time, i got a error.
Then i add trhe code
i got this
i think is no judgment for Connection.conn In session.go:Close():1723 if Connection.conn is nil
Can add a checksum for check Conn is not nil?
Although I don’t know yet how conn is nil.