[ITK Community] itk::ObjectFactoryBase::UnRegisterAllFactories() problem

Мар'ян Климов nekto1989 at gmail.com
Fri Jan 17 05:50:47 EST 2014


Hi.
Currently using ITK 3.20. Everything is built in .lib, only ITKCommon is
.dll. Program has plugins(dll). One of them uses ITKIO. During work it
registers 15 factories in ITKCommon that has pointers to address space of
this plugin. So calling itk::ObjectFactoryBase::UnRegisterAllFactories()
after plugin is unloaded from memory causes crash because addresses to
methods are not valid but they are still in list m_RegisteredFactories.
Does ITK 4.5.0+ still has this problem or migrating will solve it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140117/bb54715b/attachment-0002.html>


More information about the Community mailing list