1
Fork 0

Fix hander for shared screen close button.

This commit is contained in:
Juliusz Chroboczek 2021-05-07 02:44:04 +02:00
parent 86b6c71ca0
commit a20741408c
1 changed files with 1 additions and 2 deletions

View File

@ -1527,8 +1527,7 @@ function registerControlHandlers(media, container, c) {
stop.onclick = function(event) { stop.onclick = function(event) {
event.preventDefault(); event.preventDefault();
try { try {
c.close(true); c.close();
delMedia(c.localId);
} catch(e) { } catch(e) {
console.error(e); console.error(e);
displayError(e); displayError(e);