mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 13:17:41 +02:00
fix(net/validators): ensure buffers are cleared and reset;
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
@ -60,7 +60,11 @@ class ChecksumValidator : public Validator {
|
||||
return true;
|
||||
}
|
||||
|
||||
auto abort() -> bool override { return true; }
|
||||
auto abort() -> bool override
|
||||
{
|
||||
m_checksum.reset();
|
||||
return true;
|
||||
}
|
||||
|
||||
auto validate(QNetworkReply&) -> bool override
|
||||
{
|
||||
|
Reference in New Issue
Block a user