]> khamidou — GitHub mirrors - electron.git/commit
mac: Destroy the app delegate before running destruction callbacks
authorCheng Zhao <zcbenz@gmail.com>
Wed, 4 Nov 2015 09:23:27 +0000 (17:23 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 4 Nov 2015 09:23:27 +0000 (17:23 +0800)
commit84410a7e1c1a053220333e374b1445bd9d2259ff
treefd230d045bef9c8b9113490e098a3a2c8f2061da
parent75f49477ca4e2d25c6dfb4d19440325d84d5a3b5
mac: Destroy the app delegate before running destruction callbacks

Otherwise users might be able to access wrapper functions after they are
destroyed.
atom/browser/atom_browser_main_parts.cc
atom/browser/atom_browser_main_parts.h
atom/browser/atom_browser_main_parts_mac.mm