8000 minor · pythonnet/pythonnet@a74ea86 · GitHub
[go: up one dir, main page]

Skip to content

Commit a74ea86

Browse files
committed
minor
1 parent e422367 commit a74ea86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/runtime/finalizer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ private void ValidateRefCount()
346346
struct PendingFinalization
347347
{
348348
public IntPtr PyObj;
349+
public BorrowedReference Ref => new(PyObj);
349350
public int RuntimeRun;
350351
#if TRACE_ALLOC
351352
public string StackTrace;

0 commit comments

Comments
 (0)
0