fix streams not being ended correctly
When closing a screencast session, the `closed` signal is emitted too late, this MR addresses that issue. Tested in Firefox and OBS using window & screen sharing, ending the recording now always either freezes the stream, or disables it (depending on app). BUG: 465302 (cherry picked from commit eb95725e)
Please register or sign in to comment