Commit a05e9dcf authored by Jakub Adam's avatar Jakub Adam

tcp-bsd: Restore global locks

Avoids race between socket_send_more() and socket_close() leading either
to crash on use of freed NiceSocket, or abort upon attempting to
g_mutex_clear() a locked mutex.

Akin to what d1611c0c did to udp-turn.
parent 3c29a99c
Pipeline #9244 passed with stage
in 47 seconds