bufferpool: Deactivate pool and get rid of references to other objects from dispose...
authorSebastian Dröge <sebastian@centricular.com>
Mon, 7 Feb 2022 07:46:46 +0000 (09:46 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 7 Feb 2022 21:45:44 +0000 (21:45 +0000)
commitbe23dbb4171a10ea717689929e383295b7186638
tree6b431e46135db534d4e8832996ca1ee2c3e3c4d7
parent28eeba3e186b22d3a770371a9e654f3fc3ba7d5a
bufferpool: Deactivate pool and get rid of references to other objects from dispose instead of finalize

During dispose the pool will still have a reference count of 1 and all
API on it can still be safely called.

Subclasses will have already freed their own data before finalize is
called but would nonetheless be called into again via the pool
deactivation.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1645>
subprojects/gstreamer/gst/gstbufferpool.c