Fix a possible dead lock when quiting.
authorCheng Zhao <zcbenz@gmail.com>
Mon, 11 Nov 2013 08:57:40 +0000 (16:57 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 11 Nov 2013 08:59:57 +0000 (16:59 +0800)
commitd5ffa4dc770c1e8e0cd613fb24655dcc58090f2f
treee38c9695bf29a5c3d81cdfd6c4cff341e04f9bad
parent01dd5638d0223eccae22870b08bcf3851ff2716b
Fix a possible dead lock when quiting.

It could happen that we are quitting when the embed thread is still
waiting for the main thread, so we make sure embed thread is always
signaled when quitting.
common/node_bindings.cc