mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 13:17:41 +02:00
Delete staging on abort
Previously instances would get "stuck" in the folder Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
@ -907,7 +907,11 @@ class InstanceStaging : public Task {
|
||||
emitFailed(reason);
|
||||
}
|
||||
|
||||
void childAborted() { emitAborted(); }
|
||||
void childAborted()
|
||||
{
|
||||
m_parent->destroyStagingPath(m_stagingPath);
|
||||
emitAborted();
|
||||
}
|
||||
|
||||
private:
|
||||
InstanceList* m_parent;
|
||||
|
Reference in New Issue
Block a user