]> khamidou — GitHub mirrors - electron.git/commit
Fix calling showItemInFolder in renderer
authorCheng Zhao <zcbenz@gmail.com>
Mon, 26 Oct 2015 08:48:27 +0000 (16:48 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 26 Oct 2015 08:48:27 +0000 (16:48 +0800)
commitf399f50e9ee11f51a2d02eeef3eb1672e95434bc
tree244e8f89d416e0186c3c5bdc5b28a0c3617cc84a
parente6f54f447cee43d6e0ddab913bcea5fa84b955cb
Fix calling showItemInFolder in renderer

The remote method always assumes the existence of the remote object but
doesn't keep a reference to it, so if we only keep the reference of a
remote method we will get into troubles once the remote object is
garbage collected.

We should probably fix this in remote module, but since most things are
already working quite good, I'm using the work-around for now.

Fix #3139.
atom/common/api/lib/shell.coffee