mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
souphttpsrc: Don't abort all pending operations on the session if shutting down a source with a shared session
Only do it for a non-shared session. Other sources would otherwise get their requests cancelled unexpectedly. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1594>
This commit is contained in:
parent
499e0acd43
commit
080d85b19a
1 changed files with 1 additions and 1 deletions
|
@ -1212,7 +1212,7 @@ _session_close_cb (gpointer user_data)
|
|||
g_clear_object (&src->msg);
|
||||
}
|
||||
|
||||
if (src->session_is_shared)
|
||||
if (!src->session_is_shared)
|
||||
_soup_session_abort (src->session->session);
|
||||
|
||||
/* there may be multiple of this callback attached to the session,
|
||||
|
|
Loading…
Reference in a new issue