浏览代码

Don't try to access runtime after determining it is null. Pull request by mduggan.

j8
paweldomas 11 年前
父节点
当前提交
226028c064
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      desktopsharing.js

+ 1
- 0
desktopsharing.js 查看文件

95
     if (!chrome.runtime) {
95
     if (!chrome.runtime) {
96
         // No API, so no extension for sure
96
         // No API, so no extension for sure
97
         isInstalledCallback(false);
97
         isInstalledCallback(false);
98
+        return;
98
     }
99
     }
99
     chrome.runtime.sendMessage(
100
     chrome.runtime.sendMessage(
100
         config.chromeExtensionId,
101
         config.chromeExtensionId,

正在加载...
取消
保存