]> khamidou — GitHub mirrors - electron.git/commit
Erase window from weak map immediately after it's destroyed.
authorCheng Zhao <zcbenz@gmail.com>
Mon, 20 May 2013 06:55:46 +0000 (14:55 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 20 May 2013 06:55:46 +0000 (14:55 +0800)
commitd19e62d8672b679914d1f7639f6e69d49be25ae0
tree569737349ffa7bee810126007bc3ec6cb0080b66
parentca1b8ada99d504f36f1810a7434639874ba7b147
Erase window from weak map immediately after it's destroyed.

Otherwise it could happend that developers accessed the window after
it's destroyed but before it's GCed.
browser/atom/objects_registry.coffee