clients/secret-agent: remove request in finalize loop early

It's ugly to keep the request in the list. Just remove it
right away.
This commit is contained in:
Thomas Haller 2019-01-22 11:29:12 +01:00
parent 4157092a8a
commit f2973fd72e

View file

@ -1142,6 +1142,7 @@ finalize (GObject *object)
request->connection,
NULL, error,
request->callback_data);
g_hash_table_iter_remove (&iter);
}
g_hash_table_destroy (priv->requests);