We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c540cad commit 0d2ca28Copy full SHA for 0d2ca28
1 file changed
static/galene.js
@@ -333,6 +333,7 @@ function gotConnected() {
333
* @param {string} reason
334
*/
335
function gotClose(code, reason) {
336
+ closeUpMedia();
337
setConnected(false);
338
if(code != 1000) {
339
console.warn('Socket close', code, reason);
@@ -1461,7 +1462,7 @@ function stopStream(s) {
1461
1462
* closeUpMedia closes all up connections with the given label. If label
1463
* is null, it closes all up connections.
1464
*
- * @param {string} label
1465
+ * @param {string} [label]
1466
1467
function closeUpMedia(label) {
1468
for(let id in serverConnection.up) {
0 commit comments