提交 23c18293 authored 作者: Seven Du's avatar Seven Du

FS-7127 #comment fix regression from a80c7394, thanks Mike

The second hunk in this patch isn't right.  In the past,
if tmp was null, it would not pass the if.
上级 7c0c3ab8
This diff was suppressed by a .gitattributes entry.
...@@ -493,7 +493,7 @@ ...@@ -493,7 +493,7 @@
tmp = null; tmp = null;
} }
if (!(tmp && typeof(tmp) == "object" && tmp.constructor === Array)) { if (tmp && !(typeof(tmp) == "object" && tmp.constructor === Array)) {
console.warn("iceServers must be an array, reverting to default ice servers"); console.warn("iceServers must be an array, reverting to default ice servers");
tmp = null; tmp = null;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论