Allow renderer to get object in browser for arbitrary times.
authorCheng Zhao <zcbenz@gmail.com>
Fri, 26 Apr 2013 15:26:41 +0000 (23:26 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 26 Apr 2013 15:26:41 +0000 (23:26 +0800)
commitda3d4c8408d9b9094834d84d2542c62cc9ee51f3
treecaa1551e10c7b5a11e69d2761ee1ff9e699fc4ec
parent536b523232ab8b75071ae1e2ac67102760339bd9
Allow renderer to get object in browser for arbitrary times.

Now, when creating a remote object in renderer, the browser will
reference the corresponding object by storing it in a strong map. And
when the remote object in renderer is GCed, the corresponding object
will be dereferenced in browser.
browser/atom/objects_registry.coffee
browser/atom/rpc_server.coffee
renderer/api/lib/remote.coffee