Pavel Arnošt created MYFACES-3585:
-------------------------------------

             Summary: FacesContextFactoryImpl is not released in 
FacesContextImpl.release()
                 Key: MYFACES-3585
                 URL: https://issues.apache.org/jira/browse/MYFACES-3585
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 2.1.8
            Reporter: Pavel Arnošt
            Priority: Minor


There is a bug in release method of FacesContextImpl class:


    @Override
    public final void release()
    {
        assertNotReleased();

        _messages = null;
        _orderedMessages = null;
        _currentPhaseId = null;
        _responseStream = null;
        _responseWriter = null;
        _maximumSeverity = null;
        _partialViewContext = null;
        _facesContextFactory = null;
        _renderKitFactory = null;
        _partialViewContextFactory = null;

        if (_facesContextFactory != null)
        {
            _facesContextFactory.release();
            _facesContextFactory = null;
        }

_facesContextFactory is set to null and then tested for null. 
_facesContextFactory is neved released then.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to