Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ebf31a8

Browse files
rmadsen-ksfilmor
authored andcommitted
Removed refcount (#306)
1 parent 566898a commit ebf31a8

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/runtime/pyobject.cs

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -126,17 +126,7 @@ protected virtual void Dispose(bool disposing)
126126
disposed = true;
127127
}
128128
}
129-
130-
public long RefCount
131-
{
132-
get
133-
{
134-
if(!disposed)
135-
return Runtime.Refcount(obj);
136-
return -1;
137-
}
138-
}
139-
129+
140130
public void Dispose()
141131
{
142132
Dispose(true);

0 commit comments

Comments
 (0)