Fix Bug 427792 - Crash on exit

FIXED-IN: 5.15.3
BUG: 427792
1 job for release/20.08 in 5 minutes and 57 seconds (queued for 47 minutes and 48 seconds)
Status Job ID Name Coverage
  Build
failed #73054
build_clazy_clang_tidy

00:05:57

 
Name Stage Failure
failed
build_clazy_clang_tidy Build


-- Configuring incomplete, errors occurred!
See also "/builds/pim/messagelib/build/CMakeFiles/CMakeOutput.log".
Uploading artifacts for failed job
Uploading artifacts...
WARNING: JUnitTestResults.xml: no matching files
ERROR: No files to upload
ERROR: Job failed: exit code 1