diff --git a/static/galene.js b/static/galene.js index 5a1e00e..34afd75 100644 --- a/static/galene.js +++ b/static/galene.js @@ -1761,6 +1761,8 @@ function closeUpMedia(label) { * @returns {Stream} */ function findUpMedia(label) { + if(!serverConnection) + return null; for(let id in serverConnection.up) { let c = serverConnection.up[id]; if(c.label === label)