Skip to content
  • Göran Jönsson's avatar
    rtsp_server: Free thread pool before clean transport cache · 3cfe8863
    Göran Jönsson authored
    If not waiting for free thread pool before clean transport caches, there
    can be a crash if a thread is executing in transport list loop in
    function send_tcp_message.
    
    Also add a check if priv->send_pool in on_message_sent to avoid that a
    new thread is pushed during wait of free thread pool. This is possible
    since when waiting for free thread pool mutex have to be unlocked.
    3cfe8863