]> khamidou — GitHub mirrors - electron.git/commit
Free the native window's memory after the event were sent for all observers.
authorCheng Zhao <zcbenz@gmail.com>
Fri, 27 Sep 2013 07:20:55 +0000 (15:20 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 27 Sep 2013 07:24:03 +0000 (15:24 +0800)
commit54b0d0c9c0ff351a6bcb6821a46b85e3bb2b457f
treee9ec19df7154582737b753ce335d45942d33b306
parent10a46b4229e2a3482b0c3c564a523f34752bc998
Free the native window's memory after the event were sent for all observers.

If we delete the window immediately other observers may get a invalid
window and cause random crashes.
browser/api/atom_api_window.cc