Checksums: Fix crash due to threading issue
authorChristian Kamm <mail@ckamm.de>
Wed, 7 Aug 2019 09:14:30 +0000 (11:14 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:58:54 +0000 (10:58 +0100)
commitc9dbe465424307ebd4de87429c825eb0567faacc
tree53713ced77caab57482b47fefd710eb08063c9ad
parenta587cd3a136ae7ac2e184de8a17d1747f7df2f45
Checksums: Fix crash due to threading issue

The checksum computation thread was potentially using a QFile that was
deleted in the gui thread.

For #7368
src/common/checksums.cpp
src/common/checksums.h
test/testchecksumvalidator.cpp