mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: session argument of app 'session-created' event (#25798)
Co-authored-by: Milan Burda <miburda@microsoft.com>
This commit is contained in:
@@ -135,6 +135,10 @@ for (const name of events) {
|
||||
});
|
||||
}
|
||||
|
||||
app.on('-session-created' as any, (event, session) => {
|
||||
app.emit('session-created', session);
|
||||
});
|
||||
|
||||
// Deprecate allowRendererProcessReuse but only if they set it to false, no need to log if
|
||||
// they are setting it to true
|
||||
deprecate.removeProperty(app, 'allowRendererProcessReuse', [false]);
|
||||
|
||||
Reference in New Issue
Block a user