[
https://issues.apache.org/jira/browse/TINKERPOP-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stephen mallette closed TINKERPOP-1302.
---------------------------------------
Resolution: Done
This was a simple fix. Just needed to add a shutdown hook and use the same
closing of remotes that already existed:
https://github.com/apache/incubator-tinkerpop/commit/0a34d2ddee45159ea258fbf20a258b4e5a82b0bd
> Ctrl-C should kill open remotes in Console
> ------------------------------------------
>
> Key: TINKERPOP-1302
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1302
> Project: TinkerPop
> Issue Type: Improvement
> Components: console
> Affects Versions: 3.1.2-incubating
> Reporter: stephen mallette
> Assignee: stephen mallette
> Fix For: 3.1.3, 3.2.1
>
>
> Ctrl-C kills the console but doesn't bother to shutdown open remotes which
> can lead to leaking connection in Gremlin Server. Gremlin Server will
> eventually shut those down on its end, but that might take a long time and
> unnecessarily hold resources that could otherwise be used.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)