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 2021/02/28 19:48:00 UTC
[jira] [Resolved] (OWB-1371) review getCurrentContext to
automatically create Contexts
[ https://issues.apache.org/jira/browse/OWB-1371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg resolved OWB-1371.
--------------------------------
Fix Version/s: 2.0.22
Resolution: Fixed
> review getCurrentContext to automatically create Contexts
> ---------------------------------------------------------
>
> Key: OWB-1371
> URL: https://issues.apache.org/jira/browse/OWB-1371
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Context and Scopes
> Affects Versions: 2.0.21
> Reporter: Mark Struberg
> Assignee: Mark Struberg
> Priority: Major
> Fix For: 2.0.22
>
>
> Right now {{ContextsService#getCurrentContext}} creates e.g an active RequestContext if it did not exist before. That might be handy sometimes but also might lead to mem leaks. It should imo rather be an explicit step to activate those Contexts.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)