
Destroying the policy invalidates it, so accessing it from a Source::destroy handler (for example to disconnect signal handlers) currently results in warnings like: Object .Gjs_ui_messageTray_NotificationApplicationPolicy (0x7f8c7c0a64a0), has been already deallocated — impossible to access it. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2238