From 5a122b5ea03e8220fb0d221a111a44fd0c6e4f42 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 22 Jun 2016 18:51:39 -0700 Subject: [PATCH] Eagerly require protocol --- lib/browser/init.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/browser/init.js b/lib/browser/init.js index 924ad1420c2e..6326b8e80e8b 100644 --- a/lib/browser/init.js +++ b/lib/browser/init.js @@ -173,6 +173,9 @@ require('./chrome-extension') // Load internal desktop-capturer module. require('./desktop-capturer') +// Load protocol module to ensure it is populated on app ready +require('./api/protocol') + // Set main startup script of the app. var mainStartupScript = packageJson.main || 'index.js'