This PR fixes a tiny memory leak caused by cyclic std::shared_ptr<Airport> references.
It also solves the problem of git push lock contention for Travis CI pushes to flu-plus-plus.github.io by making push-report.sh script more stubborn. If push-report.sh can't push a commit, it now will nuke the commit, regenerate the comparison report, create a new commit and try to push that. push-report.sh will do this at most three times.
Builds should no longer fail because two jobs tried to push their results simultaneously.
This PR fixes a tiny memory leak caused by cyclic
std::shared_ptr<Airport>
references.It also solves the problem of
git push
lock contention for Travis CI pushes to flu-plus-plus.github.io by makingpush-report.sh
script more stubborn. Ifpush-report.sh
can't push a commit, it now will nuke the commit, regenerate the comparison report, create a new commit and try to push that.push-report.sh
will do this at most three times.Builds should no longer fail because two jobs tried to push their results simultaneously.