Skip to content
Snippets Groups Projects
Commit dc738201 authored by Guillaume Desmottes's avatar Guillaume Desmottes :goat: Committed by Thibault Saunier
Browse files

validate: reporter: break cyclic references with reports


My patch fixing monitor leak (15e7f1bb)
introduced a ref cycle between GstValidateReporter and
GstValidateReport.

The reports uses its reporter so it needs a ref on it
to ensure it's stay alive. But reports are owned by GstValidateReporter and/or
GstValidateRunner.
The best way I found to break this cycle is to introduce this purge
method. It's not great but the design is a bit tricky.

Reviewed-by: default avatarThibault Saunier <tsaunier@gnome.org>
Differential Revision: https://phabricator.freedesktop.org/D1029
parent b8c821df
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment