mirror of
https://github.com/jech/galene.git
synced 2024-11-23 00:55:58 +01:00
Properly stop up media in delUpMediaKind.
This commit is contained in:
parent
c6ed27c100
commit
769c698894
1 changed files with 1 additions and 3 deletions
|
@ -1223,9 +1223,7 @@ function delUpMediaKind(kind) {
|
||||||
let c = serverConnection.up[id];
|
let c = serverConnection.up[id];
|
||||||
if(kind && c.kind != kind)
|
if(kind && c.kind != kind)
|
||||||
continue
|
continue
|
||||||
c.close();
|
delUpMedia(c);
|
||||||
delMedia(id);
|
|
||||||
delete(serverConnection.up[id]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
setButtonsVisibility();
|
setButtonsVisibility();
|
||||||
|
|
Loading…
Reference in a new issue