Fix crash on exit when a mix is selected

1 job for master
Status Name Job ID Coverage
  Build
canceled linux kf5-qt5 qt5.15 #110648