Skip to content

rtsp-client: Fix some race conditions around timeout source removal

We always need to take the lock while accessing it as otherwise another thread might've removed it in the meantime. Also when destroying and creating a new one, ensure that the mutex is not shortly unlocked in between as during that time another one might potentially be created already.

Merge request reports