mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-02 03:16:58 +03:00
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
1 changed files with 5 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue