Fixes possible runtime when sensor is destroyed while open in computer.