mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-04-30 14:44:31 +02:00
fix crash on accessing reseted output
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
269938dfd8
commit
9ce5587f60
@ -82,7 +82,9 @@ Task::State FileSink::write(QByteArray& data)
|
||||
|
||||
Task::State FileSink::abort()
|
||||
{
|
||||
if (m_output_file) {
|
||||
m_output_file->cancelWriting();
|
||||
}
|
||||
failAllValidators();
|
||||
return Task::State::Failed;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user