]> khamidou — GitHub mirrors - electron.git/commit
Release the native window after window gets closed
authorCheng Zhao <zcbenz@gmail.com>
Thu, 17 Sep 2015 03:30:17 +0000 (11:30 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 17 Sep 2015 03:30:17 +0000 (11:30 +0800)
commite3c64d79716fa40e000827355d3d2d6f744554ee
treeb1f9954eb1b2c02aba9c8376cbf506164d7a046b
parent9fd5a64cd8f853d12a6fdf594f3ce3ad278041ab
Release the native window after window gets closed

Previously we delete the window after the JS object gets garbage
collected, which is too late for releasing some resources.
atom/browser/api/atom_api_window.cc