fix: do not initialize any extension related logic in OffTheRecord contexts (#22772)

This commit is contained in:
Samuel Attard 2020-05-08 11:17:28 -07:00 committed by GitHub
parent a3ee61f963
commit 21900fe4f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 115 additions and 44 deletions

View file

@ -0,0 +1,6 @@
const { app, session } = require('electron')
app.on('ready', () => {
session.fromPartition('in-memory')
process.exit(0)
})