[ https://issues.apache.org/jira/browse/FELIX-4138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13686598#comment-13686598 ]
Clement Escoffier commented on FELIX-4138: ------------------------------------------ Shouldn't the declaration beeing notified of the factory disposal and be unbound ? > TypeDeclaration calls factory.dispose() even if it already has been disposed > (externally) > ----------------------------------------------------------------------------------------- > > Key: FELIX-4138 > URL: https://issues.apache.org/jira/browse/FELIX-4138 > Project: Felix > Issue Type: Bug > Components: iPOJO > Affects Versions: ipojo-runtime-1.10, ipojo-manipulator-1.10.1 > Reporter: Pierre Bourret > Assignee: Guillaume Sauthier > Fix For: ipojo-runtime-1.10.2 > > > In some tests, I manually destroy an iPOJO factory by calling > IPojoFactory.dispose() > However, on framweork shutdown, the associated type declaration tries to call > the same method again, without checking the factory actual state. It may also > be possible that the TypeDeclaration is not unbound despite the fact the > factory is not active anymore. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira