Skip to content
  • Adam x Nilsson's avatar
    rtsp-stream: Removing invalid transports returns false · 9c5ca231
    Adam x Nilsson authored and johanadamnilsson's avatar johanadamnilsson committed
    When removing transports an assertion was that the transports passed in
    for removal are present in the list, however that can't be assumed.
    As an example if a transport was removed from a thread running
    send_tcp_message, the main thread can try to remove the same transport
    again if it gets a handle_pause_request. This will not effect the
    transport list but it will effect n_tcp_transports as it will be
    decrement and then have the wrong value.
    9c5ca231