Closed liuxiaocs7 closed 1 year ago
Base: 77.48% // Head: 77.11% // Decreases project coverage by -0.36%
:warning:
Coverage data is based on head (
9bb2de3
) compared to base (f028dfc
). Patch coverage: 0.00% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Hello @liuxiaocs7
Thank you for bringing this to us.
When we release a session here we want to make sure two things: 1. the session is logged out 2. the connection is closed. The fix you proposed here didn't deal with the connection. You could just save the connection to a variable before releasing the session and close the connection later. Something like :
conn = session._connection
session.release()
conn.close()
Hello @liuxiaocs7
Thank you for bringing this to us.
When we release a session here we want to make sure two things: 1. the session is logged out 2. the connection is closed. The fix you proposed here didn't deal with the connection. You could just save the connection to a variable before releasing the session and close the connection later. Something like :
conn = session._connection session.release() conn.close()
Thanks for your kindly reply, got it, i'll fix
close #249