mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
Add node support in threads (#21139)
This enables the possibility of multithreading in Atom as stated in [Electron documentation](https://www.electronjs.org/docs/tutorial/multithreading). It allows using Node features in WebWorkers.
This commit is contained in:
parent
4e1f76530c
commit
d69078884b
@ -49,7 +49,10 @@ module.exports = class AtomWindow extends EventEmitter {
|
||||
// (Ref: https://github.com/atom/atom/pull/12696#issuecomment-290496960)
|
||||
disableBlinkFeatures: 'Auxclick',
|
||||
nodeIntegration: true,
|
||||
webviewTag: true
|
||||
webviewTag: true,
|
||||
|
||||
// node support in threads
|
||||
nodeIntegrationInWorker: true
|
||||
},
|
||||
simpleFullscreen: this.getSimpleFullscreen()
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user