Text edits

This commit is contained in:
Jessica Lord 2015-09-01 19:08:31 -07:00
parent 2ead38b03f
commit 0fa0aedd86
2 changed files with 15 additions and 13 deletions

View file

@ -1,11 +1,11 @@
# remote
The `remote` module provides a simple way to do inter-process communication
between the renderer process (web page) and the main process.
(IPC) between the renderer process (web page) and the main process.
In Electron, only GUI-unrelated modules are available in the renderer process.
Without the `remote` module, users who want to call a main process API in
the renderer process would have to explicitly send inter-process messages
the renderer process will have to explicitly send inter-process messages
to the main process. With the `remote` module, you can invoke methods of the
main process object without explicitly sending inter-process messages, similar
to Java's [RMI](http://en.wikipedia.org/wiki/Java_remote_method_invocation).
@ -114,7 +114,7 @@ callback will be installed again, leaking one callback for each restart.
To make things worse, since the context of previously installed callbacks has
been released, exceptions will be raised in the main process when the `close`
event is emitted .
event is emitted.
To avoid this problem, ensure you clean up any references to renderer callbacks
passed to the main process. This involves cleaning up event handlers, or