]> khamidou — GitHub mirrors - electron.git/commit
Don't reference RequestContextGetter in JS objects
authorCheng Zhao <zcbenz@gmail.com>
Wed, 9 Sep 2015 11:27:28 +0000 (19:27 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 9 Sep 2015 11:27:28 +0000 (19:27 +0800)
commit93bbc0bca9fbb6d8290e900e1f82d5619c0bbff4
treef64a3472ae28aea2b68a8b7acdd185f66df277a3
parent9d51da505e24c97332159fe077bf35cd3642fc0b
Don't reference RequestContextGetter in JS objects

V8 doesn't guarrentee the C++ class of JS objects will get destroyed, so
this will result in RequestContextGetter never getting freed
atom/browser/api/atom_api_cookies.h
atom/browser/api/atom_api_protocol.h
atom/browser/net/js_asker.h