GNOME Bugzilla – Bug 594283
rtpbin: make free_session() remove dangling stream references
Last modified: 2009-09-08 11:19:56 UTC
Created attachment 142575 [details] [review] patch When receiving a sync-packet, all sessions with the same cname will be compared and synced together. In this process, there could still be references to a session that has been shut down in the meanwhile. This patch makes sure that these references are removed when shutting down a session, so that the syncing can be done safely. This patch, together with bug #594248, has made shutting down a session mid-call safe for us! The author of this patch is Stig Sandnes: stig.sandnes@tandberg.com
commit 8f3299c5474530d0a0b353160816d5b841b5d7cb Author: Stig Sandnes <stig.sandnes@tandberg.com> Date: Tue Sep 8 13:18:29 2009 +0200 rtpbin: make free_session() remove stream references When receiving a sync-packet, all sessions with the same cname will be compared and synced together. In this process, there could still be references to a session that has been shut down in the meanwhile. This patch makes sure that these references are removed when shutting down a session, so that the syncing can be done safely. Fixes #594283