Avoid calling Environment::GetCurrent for unjected contexts
authorCheng Zhao <zcbenz@gmail.com>
Mon, 20 Jun 2016 07:51:42 +0000 (16:51 +0900)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 20 Jun 2016 07:51:42 +0000 (16:51 +0900)
commita3dd6c635fa3fb32d362661164308d64f9f2246d
tree5c80e4c6ace6368dd9a9c4b85b240df3e44427e2
parent3428874907ca14099c39fd58149dfda1b37ed494
Avoid calling Environment::GetCurrent for unjected contexts

It seems to cause crashes when it is called for contexts that do not
have node integrations.
atom/renderer/atom_renderer_client.cc