Files
flatpak/portal
Sebastian Wick ce4a27e1fe portal: Check if the monitor is closed before emitting progress
`emit_progress` is called from a thread while another thread could
unexport/close the GDbusInterfaceSkeleton. If that happens, the
connection becomes NULL which is illegal for
`g_dbus_connection_emit_signal` which results in dereferencing an unset
error.

The fix is to lock the UpdateMonitorData, and then only emit the signal
if it is not closed.
2026-06-23 08:45:08 +00:00
..