Skip to content
This repository was archived by the owner on Jul 22, 2023. It is now read-only.

Commit 0d96641

Browse files
committed
Make collect callback without JIT
1 parent f6c6e42 commit 0d96641

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/runtime/finalizer.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,10 @@ private void AddPendingCollect()
117117
}
118118
}
119119

120-
private int OnPendingCollect(IntPtr arg)
120+
private static int OnPendingCollect(IntPtr arg)
121121
{
122-
DisposeAll();
123-
_pending = false;
122+
Instance.DisposeAll();
123+
Instance._pending = false;
124124
return 0;
125125
}
126126

0 commit comments

Comments
 (0)