Skip to content

Commit 6b730d4

Browse files
committed
fix: getting should not lock the context
1 parent bf30d00 commit 6b730d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

laygo/context/parallel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def __exit__(self, exc_type, exc_val, exc_tb) -> None:
117117
self._unlock_context()
118118

119119
def __getitem__(self, key: str) -> Any:
120-
return self._execute_locked(lambda: self._shared_dict[key])
120+
return self._shared_dict[key]
121121

122122
def __setitem__(self, key: str, value: Any) -> None:
123123
self._execute_locked(lambda: self._shared_dict.__setitem__(key, value))

0 commit comments

Comments
 (0)