Rafael Cruz

Results 4 comments of Rafael Cruz

It works. The only thing that I miss is the ability to autoremove bridge listeners of the renderer process (windows) Can't provide an example atm but I'll do a tiny...

Use electron-unhandled to get rid of those problems in runtime. It doesn't removes the listeners but works as a quick (and nasty) fix atm :(

Btw, sorry for bringing old issues to live but this function is a must D: Maybe internally you can attach a removeEvents function on the BrowserWindow "closed" event as electron...

``` const { remote } = require('electron'); var windowManager = remote.require('electron-window-manager'); const thisWindow = windowManager.getById(remote.getCurrentWindow().id); var windowName = new String(thisWindow.name); // now you have the window name as windowName ```...