GNOME shell hangs when dragging window across workspaces
Originally reported in the Archlinux Bugtracker: https://bugs.archlinux.org/task/56634
After updating gjs the shell started to hang as soon as I dragged a window to another workspace.
By hang I mean that keystrokes and mouse clicks don't have any effects. The window overview of the shell is still visible and sometimes windows rearrange themselves on it, even after everything else hangs.
During the hang, the cursor stays the same as when I am about to drop a window on another workspace.
I did a git bisect between 1.50.2 and b65c7851:
The bad commit is 85f88a18 object: check in gjs_typecheck_object if the object has been finalized
1.51.2 isn't effected, but the same problem is introduced again in the apparently cherry-picked 40084ad4 object: check in gjs_typecheck_object if the object has been finalized.