]> khamidou — GitHub mirrors - electron.git/commit
Destroy the native window in next tick
authorCheng Zhao <zcbenz@gmail.com>
Fri, 4 Dec 2015 03:35:04 +0000 (11:35 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 4 Dec 2015 03:35:04 +0000 (11:35 +0800)
commit973ae06f214122686c501ec28ff5f55e60fd4f0e
treea4b1e7851f06527478a71acc512da81bdb1788ed
parent2c6d23225460be0102ab7aeb0da0c6c14b09f838
Destroy the native window in next tick

It fixes a possible crash when native code is iterating all windows
while the JavaScript code decides to destroy a window.
atom/browser/api/atom_api_window.cc