You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2015/04/12 14:12:12 UTC

[jira] [Resolved] (OWB-1045) WebContextsService#destroySession

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

Mark Struberg resolved OWB-1045.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.0

> WebContextsService#destroySession
> ---------------------------------
>
>                 Key: OWB-1045
>                 URL: https://issues.apache.org/jira/browse/OWB-1045
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Context and Scopes
>    Affects Versions: 1.2.6, 1.5.0
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 1.5.0
>
>
> Non-Servlet Session contexts don't get properly destroyed. 
> We allow @SessionScoped to be created for non-web requests as well (giving them a 'dummy-session'). But we currently do not properly destroy them in this case. The WebContextsService#destroySessionContext currently just cleans up the SessionContext if a HttpSession gets used.
> This will create a mem leak for non-servlet sessions



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