mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Track visited parents and null out cycles
This commit is contained in:
@@ -237,6 +237,11 @@ ipcMain.on('create-window-with-options-cycle', (event) => {
|
||||
// nulled out at the IPC layer
|
||||
const foo = {}
|
||||
foo.bar = foo
|
||||
foo.baz = {
|
||||
hello: {
|
||||
world: true
|
||||
}
|
||||
}
|
||||
const window = new BrowserWindow({show: false, foo: foo})
|
||||
event.returnValue = window.id
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user