Remove the useless remote.getObject API.

This commit is contained in:
Cheng Zhao 2013-07-29 16:35:25 +08:00
parent e1ac21aa7a
commit cd19666307
3 changed files with 2 additions and 20 deletions

View file

@ -116,12 +116,5 @@ ipc.on 'ATOM_BROWSER_MEMBER_GET', (event, processId, routingId, id, name) ->
catch e
event.result = errorToMeta e
ipc.on 'ATOM_BROWSER_REFERENCE', (event, processId, routingId, id) ->
try
obj = objectsRegistry.get id
event.result = valueToMeta processId, routingId, obj
catch e
event.result = errorToMeta e
ipc.on 'ATOM_BROWSER_DEREFERENCE', (processId, routingId, storeId) ->
objectsRegistry.remove processId, routingId, storeId