Make sure all sync messages get a return value.

This commit is contained in:
Cheng Zhao 2013-09-20 21:39:07 +08:00
parent a9c824eba1
commit 07b5039c64
2 changed files with 3 additions and 0 deletions

View file

@ -72,6 +72,7 @@ metaToValue = (meta) ->
ret.__defineSetter__ member.name, (value) ->
# Set member data.
ipc.sendChannelSync 'ATOM_BROWSER_MEMBER_SET', meta.id, member.name, value
value
ret.__defineGetter__ member.name, ->
# Get member data.