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/26 20:16:00 UTC

[jira] [Created] (OWB-1371) review getCurrentContext to automatically create Contexts

Mark Struberg created OWB-1371:
----------------------------------

             Summary: 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


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)