[
https://issues.apache.org/jira/browse/FELIX-3501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13272002#comment-13272002
]
Göktürk Gezer commented on FELIX-3501:
--------------------------------------
There is a little bug in IPojoFactory.stop() method,
m_state = INVALID; // Set here to avoid to create instances during the
stops.
............................
...........................
if (m_state == VALID) {
for (int i = 0; i < m_listeners.size(); i++) {
((FactoryStateListener) m_listeners.get(i)).stateChanged(this,
INVALID);
}
}
m_state if changed to INVALID before the check for state notifications.
> IPojo FactoryStateListener doesn't get notified while stopping factory
> ----------------------------------------------------------------------
>
> Key: FELIX-3501
> URL: https://issues.apache.org/jira/browse/FELIX-3501
> Project: Felix
> Issue Type: Bug
> Components: iPOJO
> Affects Versions: iPOJO-1.8.0
> Reporter: Göktürk Gezer
> Labels: ipojo
> Fix For: iPOJO-1.8.0
>
>
> When stopping/uninstalling bundle of some IPojo component,
> FactoryStateListener references don't get notified.
--
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