From 769c69889422604714f8fd540529ba0391465345 Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Wed, 13 Jan 2021 17:07:54 +0100 Subject: [PATCH] Properly stop up media in delUpMediaKind. --- static/galene.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/static/galene.js b/static/galene.js index b637786..1ab52b5 100644 --- a/static/galene.js +++ b/static/galene.js @@ -1223,9 +1223,7 @@ function delUpMediaKind(kind) { let c = serverConnection.up[id]; if(kind && c.kind != kind) continue - c.close(); - delMedia(id); - delete(serverConnection.up[id]); + delUpMedia(c); } setButtonsVisibility();