Преглед изворни кода

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,6 +95,7 @@ function checkExtInstalled(isInstalledCallback) {
95 95
     if (!chrome.runtime) {
96 96
         // No API, so no extension for sure
97 97
         isInstalledCallback(false);
98
+        return;
98 99
     }
99 100
     chrome.runtime.sendMessage(
100 101
         config.chromeExtensionId,

Loading…
Откажи
Сачувај