Electron Event Fires Multiple Times
I have one page, that load new elements via jquery. I have page that have event listener like ipcRenderer.send('getlist'); ipcRenderer.once('return:list', function (e, l, wn) {
Actually there was TWO listeners that go twice.
It's ipcRenderer.on
(replaced to .once
) and jquery.on('click')
that was bound to button that loads page. Fixed this with jquery.unbind().on('click')
.
Thanks for your help, obermillerk.
Post a Comment for "Electron Event Fires Multiple Times"