IbisNeuronav / Ibis

Official repository of the Ibis Neuronav platform
Other
41 stars 24 forks source link

Fix: check if HarwareModule exists before deleting USProbe object #482

Closed hgueziri closed 2 years ago

hgueziri commented 2 years ago

Deleting USProbeObject from scene causes Ibis to crash. GetHardwareModule returns a nullptr and is being used to remove the object. This PR makes sure HW module exists before calling RemoveTrackedVideoClient().