electron/atom
trop[bot] 02b1069fd8 fix: Invalidate weak ptrs before window Javascript object is destroyed (backport: 3-0-x) (#14591)
* fix: Invalidate weak ptrs before window Javascript object is destroyed

* chore: add regression test for #14513

This test is similar to the original gist at https://gist.github.com/bpasero/a02a645e11f4946dcca1331d0299149d -- the key is to open multiple windows and add an `app.on('browser-window-focus') listener that accesses window.id.

* fix: last commit didn't test the right thing.

The test needs to run in the main process to reproduce the
conditions reported in #14513
2018-09-12 15:22:05 -05:00
..
app build: [gn] widevine cdm support behind flag (3-0-x) (#14497) 2018-09-07 22:43:39 -07:00
browser fix: Invalidate weak ptrs before window Javascript object is destroyed (backport: 3-0-x) (#14591) 2018-09-12 15:22:05 -05:00
common Bump v3.0.0-beta.11 2018-09-12 01:08:37 -07:00
node also format missing .cc files 2018-04-18 20:48:45 -04:00
renderer fix: use render client id to track deleted render process hosts (backport: 3-0-x) (#14557) 2018-09-11 19:56:20 -07:00
utility also format missing .cc files 2018-04-18 20:48:45 -04:00