Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make collect callback without JIT
  • Loading branch information
amos402 authored and Martin-Molinero committed Mar 27, 2019
commit eb569f2db9bcd9ee68545dad68ad7a6208119fe1
6 changes: 3 additions & 3 deletions src/runtime/finalizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ private void AddPendingCollect()
}
}

private int OnPendingCollect(IntPtr arg)
private static int OnPendingCollect(IntPtr arg)
{
DisposeAll();
_pending = false;
Instance.DisposeAll();
Instance._pending = false;
return 0;
}

Expand Down