Wait on update exit

This commit is contained in:
crschnick 2024-01-18 20:14:03 +00:00
parent 25301c1ac1
commit 406e63cbf0

View file

@ -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);
});
}