mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-09-30 00:56:56 +13:00
Wait on update exit
This commit is contained in:
parent
25301c1ac1
commit
406e63cbf0
1 changed files with 5 additions and 0 deletions
|
@ -229,6 +229,11 @@ public abstract class UpdateHandler {
|
||||||
preparedUpdate.getValue().getVersion());
|
preparedUpdate.getValue().getVersion());
|
||||||
AppCache.update("performedUpdate", performedUpdate);
|
AppCache.update("performedUpdate", performedUpdate);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// In case we perform any operations such as opening a terminal
|
||||||
|
// give it some time to open while this process is still alive
|
||||||
|
// Otherwise it might quit because the parent process is dead already
|
||||||
|
ThreadHelper.sleep(1000);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue