
There was a potential issue when suspend was inhibited and immediately uninhibited again before the creation of the inhibitor has finished. Then the new inhibitor would be kept active. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1927>