hopefully fix aruco crash on exit

Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>