PengZheng commented on issue #653:
URL: https://github.com/apache/celix/issues/653#issuecomment-1732557407

   I suspect this is a lifecycle management bug of 
`TestExportImportRemoteServiceFactory`.
   
   Note that `ComponentImportRegistration` produced by 
`CalculatorImportServiceFactory::importService` is NOT managed by 
`CalculatorImportServiceFactory`. That means if 
`TestExportImportRemoteServiceFactory` bundle is uninstalled, 
`RemoteServiceAdmin` will keep references of `ComponentImportRegistration`, 
whose destructor is not in address space anymore.
   
   This shows that any object passing through Celix service should be managed 
by the object owner bundle some way. 
   WDYT? @pnoltes @rlenferink 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@celix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to