Skip to content
Commit 9956ce1c authored by Daniel Calviño Sánchez's avatar Daniel Calviño Sánchez
Browse files

Fix devices not released when got after the dialog was closed



Requesting a stream is an asynchronous operation, and it may take a
while to be fulfilled (for example, if the user needs to grant the
browser permission to use the device). When the Talk settings and the
device checker dialogs are closed the streams being used are stopped,
but this will have no effect if the promises that returns the streams
are fulfilled after that. In that case the streams need to be explicitly
stopped once finally got.

Signed-off-by: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent a50cfc50
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment