mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-08-25 18:56:39 +00:00
Wait on update exit
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user