mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 09:00:26 +00: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());
|
||||
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