Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

Commit 920f5ae

Browse files
author
MikhailArkhipov
committed
Use proper lock object
1 parent b981779 commit 920f5ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Analysis/Engine/Impl/Interpreter/Ast/AstPythonType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ public IEnumerable<string> GetMemberNames(IModuleContext moduleContext) {
246246
}
247247

248248
protected bool ContainsMember(string name) {
249-
lock (_members) {
249+
lock (_lock) {
250250
return Members.ContainsKey(name);
251251
}
252252
}

0 commit comments

Comments
 (0)