mozilla / audioipc

Cubeb Audio Remoting For Gecko
10 stars 17 forks source link

server: Handle client error during stream_init shmem setup. #125

Closed kinetiknz closed 3 years ago

kinetiknz commented 3 years ago

If the client abruptly disconnects (e.g. crashed) between the first and second phase of stream init, waiting for the shm_setup response on the server can result in an error. Handle this gracefully rather than unwrapping the response.

Addresses BMO #1725749.