Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #9573 from JosJuice/volumeverifier-cancel-crash
VolumeVerifier: Fix potential crash when cancelling
  • Loading branch information
leoetlino committed Mar 16, 2021
2 parents b7f931f + 96ebf01 commit f44f205
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Source/Core/DiscIO/VolumeVerifier.cpp
Expand Up @@ -372,7 +372,10 @@ VolumeVerifier::VolumeVerifier(const Volume& volume, bool redump_verification,
m_redump_verification = false;
}

VolumeVerifier::~VolumeVerifier() = default;
VolumeVerifier::~VolumeVerifier()
{
WaitForAsyncOperations();
}

void VolumeVerifier::Start()
{
Expand Down

0 comments on commit f44f205

Please sign in to comment.