Skip to content

Commit

Permalink
rpc: how did this ever work?
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Dec 22, 2023
1 parent bf6038a commit 35b4028
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/python/rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ def deserialize(self, value, deserializationContext: Dict):
return RpcPeer.deserializeError(__serialized_value)

if __remote_proxy_id:
weakref = self.remoteWeakProxies.get('__remote_proxy_id', None)
weakref = self.remoteWeakProxies.get(__remote_proxy_id, None)
proxy = weakref() if weakref else None
if not proxy:
proxy = self.newProxy(__remote_proxy_id, __remote_constructor_name,
Expand Down

0 comments on commit 35b4028

Please sign in to comment.