Delete staging on abort
Previously instances would get "stuck" in the folder
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
(cherry picked from commit 9574ebe480
)
This commit is contained in:
parent
6c8ee3dfa9
commit
82584e5d7e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user