Delete staging on abort
Previously instances would get "stuck" in the folder Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
6a9f5540d3
commit
9574ebe480
@ -907,7 +907,11 @@ class InstanceStaging : public Task {
|
|||||||
emitFailed(reason);
|
emitFailed(reason);
|
||||||
}
|
}
|
||||||
|
|
||||||
void childAborted() { emitAborted(); }
|
void childAborted()
|
||||||
|
{
|
||||||
|
m_parent->destroyStagingPath(m_stagingPath);
|
||||||
|
emitAborted();
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
InstanceList* m_parent;
|
InstanceList* m_parent;
|
||||||
|
Loading…
Reference in New Issue
Block a user