Track visited parents and null out cycles
This commit is contained in:
parent
12382f064b
commit
1944fdc962
3 changed files with 28 additions and 14 deletions
|
@ -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
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue