Cherry-picking various (memory) fixes for gnome-3-28 branch.
@vanvugt, any other thing you want to bring back?
Step 1. Fetch and check out the branch for this merge request
git fetch https://gitlab.gnome.org/3v1n0/gjs.git gnome-3-28 git checkout -b 3v1n0/gjs-gnome-3-28 FETCH_HEAD
Step 2. Review the changes locally
Step 3. Merge the branch and fix any conflicts that come up
git fetch origin git checkout origin/gnome-3-28 git merge --no-ff 3v1n0/gjs-gnome-3-28
Step 4. Push the result of the merge to GitLab
git push origin gnome-3-28
Note that pushing to GitLab requires write access to this repository.
Tip: You can also checkout merge requests locally by following these guidelines.