Skip to content

Commit

Permalink
try again proper fix. Did it actually work when looking at the result…
Browse files Browse the repository at this point in the history
… from the old actions?
  • Loading branch information
rlehfeld authored and comrumino committed Jun 24, 2024
1 parent 20f3392 commit c2365ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpyc/core/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,8 @@ def _unbox(self, package): # boxing
return self._local_objects[value]
if label == consts.LABEL_REMOTE_REF:
id_pack = (str(value[0]), value[1], value[2]) # so value is a id_pack
if id_pack in self._proxy_cache:
proxy = self._proxy_cache[id_pack]
proxy = self._proxy_cache.get(id_pack)
if proxy is not None:
proxy.____refcount__ += 1 # if cached then remote incremented refcount, so sync refcount
else:
proxy = self._netref_factory(id_pack)
Expand Down

0 comments on commit c2365ff

Please sign in to comment.