diff options
author | Christoph Settgast <csett86@web.de> | 2021-05-22 11:44:10 +0200 |
---|---|---|
committer | Дамян Минков <damencho@jitsi.org> | 2021-06-11 10:14:00 -0500 |
commit | 9afadd917232406d9789c4417e6c8d2667aaf5cb (patch) | |
tree | 8aec7b9ecacc9991ba2b0ed7531d2ac2173f3b6a /app/preload | |
parent | bad5d067c563b7a60322563cc53235d452c6ff2c (diff) |
fix(mac): remove wifi stats as they cause hangs every 10 seconds
The getWiFiStats causes screen freezes every 10 seconds for 2-4 seconds,
thus temporarily remove them on mac.
Closes: #595
Diffstat (limited to 'app/preload')
-rw-r--r-- | app/preload/preload.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/preload/preload.js b/app/preload/preload.js index ccc65cc..e8d8020 100644 --- a/app/preload/preload.js +++ b/app/preload/preload.js @@ -1,3 +1,5 @@ +/* global process */ + const createElectronStorage = require('redux-persist-electron-storage'); const { ipcRenderer, remote } = require('electron'); const os = require('os'); @@ -11,6 +13,7 @@ window.jitsiNodeAPI = { createElectronStorage, osUserInfo: os.userInfo, openExternalLink, + platform: process.platform, jitsiMeetElectronUtils, getLocale: remote.app.getLocale, ipc: { |