Fix crash on exit

1 job for master in 22 minutes and 24 seconds (queued for 8 minutes and 48 seconds)
Status Job ID Name Coverage
  Build
passed #30788
linux kf5-qt5 qt5.12

00:22:24

20.0%