From 6723ee01db804f77dd093bea6f84cd375127db98 Mon Sep 17 00:00:00 2001 From: aminya Date: Sat, 1 Aug 2020 23:19:42 -0500 Subject: [PATCH] enable multi-threading on Atom https://www.electronjs.org/docs/tutorial/multithreading --- src/main-process/atom-window.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main-process/atom-window.js b/src/main-process/atom-window.js index e10d2d11dfd..2680d2401e0 100644 --- a/src/main-process/atom-window.js +++ b/src/main-process/atom-window.js @@ -49,7 +49,9 @@ module.exports = class AtomWindow extends EventEmitter { // (Ref: https://github.com/atom/atom/pull/12696#issuecomment-290496960) disableBlinkFeatures: 'Auxclick', nodeIntegration: true, - webviewTag: true + webviewTag: true, + // multi-threading + nodeIntegrationInWorker: true } };