gnome-shell/subprojects/extensions-app/js
Florian Müllner 1bb0e1b9fc extensions-app: Explicitly dispose window when removed
Unlike in previous GTK version (or Clutter), destroy() no longer
breaks reference cycles but just releases the reference held by
GTK itself.

So any reference we hold - either the explicit property or any signal
handlers that bind the window as `this` - prevents the window from
being disposed when closed, and the application won't quit.

Work around this by explicitly running dispose() on the window when
it is removed from the application.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495>
2021-01-14 13:03:21 +00:00
..
misc
gnome-extensions-app.in extensions-app: Rename executable 2020-04-28 00:06:19 +02:00
main.js extensions-app: Explicitly dispose window when removed 2021-01-14 13:03:21 +00:00
meson.build
org.gnome.Extensions.in
org.gnome.Extensions.src.gresource.xml