No need to route via ATOM_INTERNAL_MESSAGE

This commit is contained in:
Cheng Zhao 2015-01-27 10:47:11 -08:00
parent ad16e9ea49
commit 20431f4f2f
2 changed files with 2 additions and 5 deletions

View file

@ -4,9 +4,6 @@ v8Util = process.atomBinding 'v8_util'
# Created by init.coffee.
ipc = v8Util.getHiddenValue global, 'ipc'
ipc.on 'ATOM_INTERNAL_MESSAGE', (args...) ->
@emit args...
ipc.send = (args...) ->
binding.send 'ipc-message', [args...]