souphttpsrc: Always abort the session once its last user is gone
authorSebastian Dröge <sebastian@centricular.com>
Sat, 29 Jan 2022 10:55:30 +0000 (12:55 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sat, 29 Jan 2022 16:22:48 +0000 (16:22 +0000)
commitbd6e1a9f7021e1cc3ed2242a8542fc73e69685c9
treed350e5a4fd617f0ff2031408a18b7269015fb9e9
parent1db95a61c0a1099b28b5fed9b89b9603fd9b75a5
souphttpsrc: Always abort the session once its last user is gone

And wait until there are no pending GSources on the main context anymore
afterwards.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1603>
subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c