wolf4ood / gremlin-rs

Gremlin Rust
Apache License 2.0
108 stars 30 forks source link

Close session #136

Closed maldrake closed 3 years ago

maldrake commented 3 years ago

@wolf4ood, it looks like I missed something when I submitted the contribution for sessions a while back. There's some additional code necessary to allow the client to gracefully close sessions. Absent that, it leaves them hanging, which has different (and sometimes poor) behavior across different Gremlin-speaking servers. This PR adds a close_session function that properly closes down a SessionedClient.

wolf4ood commented 3 years ago

Thanks :)