1
Fork 0
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:
Juliusz Chroboczek 2021-01-13 17:07:54 +01:00
parent c6ed27c100
commit 769c698894

View file

@ -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();