(visuOgreAdaptor): properly release resources
Summary
When two fwRenderOgre::SRender
use visuOgreAdaptor::STexture
that have the same resource name, the Ogre texture is shared. So, if one of the adaptors is stopped, it releases the texture from the memory and the other renderer crashes.
What is the current bug behavior?
It crashes.
What is the expected correct behavior?
It must not crash.
Possible fixes
Properly retrieve and clean textures resources.