In the cleanupHook the pointers are deleted but the vector is not cleared.
This will result in seg fault in case you
configure and start the component
stop and cleanup
configure again
For this to be solved a m_drivers.clear(); is necessary in cleanupHook. I have done these changes and documented the code a bit more. Will do a pull request once this issue and the one I opened earlier are further tested.
Hi,
In the cleanupHook the pointers are deleted but the vector is not cleared. This will result in seg fault in case you
For this to be solved a
m_drivers.clear();
is necessary incleanupHook
. I have done these changes and documented the code a bit more. Will do a pull request once this issue and the one I opened earlier are further tested.