3510b88bdc
We do this in both the try{} and the catch{} block, so we might as well put it into a finally{} block. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1658>