浏览代码

Adds a comment.

dev1
damencho 9 年前
父节点
当前提交
c9d0c17264
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      JitsiConnection.js

+ 3
- 0
JitsiConnection.js 查看文件

@@ -36,6 +36,9 @@ function JitsiConnection(appID, token, options) {
36 36
 
37 37
     this.addEventListener(JitsiConnectionEvents.CONNECTION_DISCONNECTED,
38 38
         function (msg) {
39
+            // we can see disconnects from normal tab closing of the browser
40
+            // and then there are no msgs, but we want to log only disconnects
41
+            // when there is real error
39 42
             if(msg)
40 43
                 AnalyticsAdapter.sendEvent('connection.disconnected.' + msg);
41 44
         });

正在加载...
取消
保存