Skip to content
  • Tim-Philipp Müller's avatar
    multiudpsink: keep client list consistent during removals · 54a9a436
    Tim-Philipp Müller authored
    We unlock and re-lock the client lock while emitting the
    removed signal, which causes inconsistencies in the client
    list vs. the client counts. Instead, remove the client from
    the list already before emitting the signal and put it into
    a temporary list of clients to be removed. That way things
    look consistent to the streaming thread, but signal callbacks
    can still do things like get stats from removed clients.
    54a9a436