mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-07 05:25:02 -04:00
`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.