Created attachment 90685 [details] [review] Patch When a connection supporting the PowerSaving interface has disconnected, changes to the power saving state cause an assertion: GLIB CRITICAL ** tp-glib - tp_cli_connection_interface_power_saving_call_set_power_saving: assertion `TP_IS_CONNECTION (proxy)' failed This is fixed by the attached patch.
Comment on attachment 90685 [details] [review] Patch Review of attachment 90685 [details] [review]: ----------------------------------------------------------------- ::: src/mcd-connection.c @@ +1685,1 @@ > tp_cli_connection_interface_power_saving_call_set_power_saving (priv->tp_conn, -1, Simon: shouldn't we check if the proxy has been invalidated as well?
(In reply to comment #1) > Simon: shouldn't we check if the proxy has been invalidated as well? There's no real need. The method call will fail, but we ignore any error anyway. (Also, the variable gets set to NULL in response to invalidation; otherwise, John wouldn't see this bug.)
Fixed in git for 5.17.0 (not in 5.16 yet).
Fixed in git for 5.16.1, too.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.