Critical warning when app is closed while popup menu is opened
To reproduce:
- Open an application (e.g. gnome-calculator)
- Open terminal
- Run `sleep 10; killall gnome-calculator)
- Open overview
- Open popup menu of gnome-calculator
- Wait ~10 seconds
== Stack trace for context 0x555555bc0250 ==
#0 555555916188 i resource:///org/gnome/shell/ui/tweener.js:49 (7fffcd9ccd30 @ 108)
#1 555555916100 i resource:///org/gnome/shell/ui/tweener.js:39 (7fffcd9ccca0 @ 16)
#2 555555916070 i resource:///org/gnome/shell/ui/dash.js:118 (7fffcd7e9430 @ 71)
#3 7ffffffeefe0 b resource:///org/gnome/gjs/modules/_legacy.js:82 (7fffcd9b1b80 @ 71)
#4 555555915fd0 i resource:///org/gnome/shell/ui/dash.js:563 (7fffcd7ebc10 @ 341)
#5 7ffffffeff60 b resource:///org/gnome/gjs/modules/_legacy.js:82 (7fffcd9b1b80 @ 71)
#6 555555915f48 i resource:///org/gnome/shell/ui/dash.js:475 (7fffcd7eb700 @ 22)
#7 555555915eb8 i resource:///org/gnome/shell/ui/appDisplay.js:1773 (7fffcd503550 @ 22)
#8 7fffffff25a0 b resource:///org/gnome/gjs/modules/_legacy.js:82 (7fffcd9b1b80 @ 71)
#9 555555915e40 i resource:///org/gnome/shell/ui/appDisplay.js:1742 (7fffcd503310 @ 22)
#10 7fffffff3540 b resource:///org/gnome/gjs/modules/signals.js:142 (7fffcd9c1940 @ 386)
#11 555555915db8 i resource:///org/gnome/shell/ui/popupMenu.js:898 (7fffcd728d30 @ 153)
#12 7fffffff44f0 b resource:///org/gnome/gjs/modules/_legacy.js:82 (7fffcd9b1b80 @ 71)
#13 555555915d18 i resource:///org/gnome/shell/ui/popupMenu.js:760 (7fffcd728940 @ 17)
#14 7fffffff5460 b resource:///org/gnome/gjs/modules/_legacy.js:82 (7fffcd9b1b80 @ 71)
#15 7fffffff66c0 b resource:///org/gnome/gjs/modules/_legacy.js:39 (7fffcd9b18b0 @ 215)
#16 555555915c90 i resource:///org/gnome/shell/ui/popupMenu.js:904 (7fffcd728e50 @ 62)
#17 7fffffff7630 b resource:///org/gnome/gjs/modules/_legacy.js:82 (7fffcd9b1b80 @ 71)
#18 555555915c10 i resource:///org/gnome/shell/ui/appDisplay.js:1849 (7fffcd503a60 @ 43)
#19 555555915b98 i resource:///org/gnome/shell/ui/dash.js:169 (7fffcd7e9700 @ 12)
#20 555555915b10 i resource:///org/gnome/shell/ui/tweener.js:91 (7fffcd9d9040 @ 37)
#21 7fffffffb890 b resource:///org/gnome/gjs/modules/tweener/tweener.js:208 (7fffcd9db820 @ 54)
#22 7fffffffc550 b resource:///org/gnome/gjs/modules/tweener/tweener.js:342 (7fffcd9db8b0 @ 1742)
#23 7fffffffc600 b resource:///org/gnome/gjs/modules/tweener/tweener.js:355 (7fffcd9db940 @ 100)
#24 7fffffffc690 b resource:///org/gnome/gjs/modules/tweener/tweener.js:370 (7fffcd9db9d0 @ 10)
#25 7fffffffc780 b resource:///org/gnome/gjs/modules/signals.js:142 (7fffcd9c1940 @ 386)
#26 7fffffffc830 b resource:///org/gnome/shell/ui/tweener.js:207 (7fffcd9d9820 @ 159)
#27 7fffffffc900 b resource:///org/gnome/gjs/modules/_legacy.js:82 (7fffcd9b1b80 @ 71)
#28 7fffffffc9a0 b resource:///org/gnome/shell/ui/tweener.js:182 (7fffcd9d9790 @ 15)```