You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2015/10/20 15:05:27 UTC

[jira] [Resolved] (KARAF-4069) ConsoleSessionImpl does not close the session in function close()

     [ https://issues.apache.org/jira/browse/KARAF-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-4069.
-----------------------------------------
    Resolution: Fixed

> ConsoleSessionImpl does not close the session in function close()
> -----------------------------------------------------------------
>
>                 Key: KARAF-4069
>                 URL: https://issues.apache.org/jira/browse/KARAF-4069
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 4.0.2
>            Reporter: Martin Krüger
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.0.3
>
>
> In the class ConsoleSessionImpl does not close the session originated from the class CommandProcessorImpl (from SessionFactoryImpl.create(...)). Resulting from that the CommandProcessorImpl keeps all open sessions in a WeakHashMap which will grow over time too.
> On the other hand the HeadlessSessionImpl does close the session in its close function.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)