Skip to content

rtsp_server: Free thread pool before clean transport cache

If not waiting for free thread pool before clean transport cashes, there can be a crash if a thread is executing in transport list loop in function send_tcp_message.

Also add a check if bin joined 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.

Change-Id: I20fd994b22adf772e94471b9b77e74abade7b9b0

Edited by Nicolas Dufresne

Merge request reports