Add v8_util.setDestructor.
authorCheng Zhao <zcbenz@gmail.com>
Thu, 25 Apr 2013 10:25:18 +0000 (18:25 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 25 Apr 2013 10:25:18 +0000 (18:25 +0800)
commitcc37431a1f785921228426ed08a4af991767a8a3
treeac0e4f8d46aa514313b77547d43d8835b4fad64f
parenta7ddf5762005caa534ffac6e0689d116bd8386b1
Add v8_util.setDestructor.

This API can monitor when the object is GCed by V8, this is required by
the RPC API since we want to make sure the remote object got destroied
when object in renderer is GCed.
atom.gyp
common/api/atom_api_v8_util.cc
common/api/object_life_monitor.cc [new file with mode: 0644]
common/api/object_life_monitor.h [new file with mode: 0644]