Github user rmannibucau commented on the pull request:

    
https://github.com/apache/cxf/commit/13fa5dc1ffebe4e63a27f17528598925af04d570#commitcomment-19844772
  
    In 
integration/cdi/src/main/java/org/apache/cxf/cdi/CdiResourceProvider.java:
    In 
integration/cdi/src/main/java/org/apache/cxf/cdi/CdiResourceProvider.java on 
line 54:
    Maybe code changed but in previous release 
org.apache.cxf.service.invoker.AbstractInvoker#getServiceObject was called per 
invocation and therefore the instance was not cached for all requests. 
Otherwise yes, isSingleton() should test if it is a normalscoped instance and 
in this case the context.release() should be skipped too.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to