Skip to content

Commit

Permalink
Removed refcount (pythonnet#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmadsen-ks authored and filmor committed Dec 19, 2016
1 parent 566898a commit ebf31a8
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/runtime/pyobject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,17 +126,7 @@ protected virtual void Dispose(bool disposing)
disposed = true;
}
}

public long RefCount
{
get
{
if(!disposed)
return Runtime.Refcount(obj);
return -1;
}
}


public void Dispose()
{
Dispose(true);
Expand Down

0 comments on commit ebf31a8

Please sign in to comment.