Skip to content

Track Runtime run number #1074

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Nov 23, 2021
Prev Previous commit
Next Next commit
WaitForFullGCComplete was never needed, and was used incorrectly
  • Loading branch information
lostmsu committed Nov 12, 2021
commit 8611dde56deb1c35ce042d4dff56804945612182
8 changes: 0 additions & 8 deletions src/runtime/runtime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -393,14 +393,6 @@ internal static void Shutdown(ShutdownMode mode)
}
ResetPyMembers();
GC.Collect();
try
{
GC.WaitForFullGCComplete();
}
catch (NotImplementedException)
{
// Some clr runtime didn't implement GC.WaitForFullGCComplete yet.
}
GC.WaitForPendingFinalizers();
PyGILState_Release(state);
// Then release the GIL for good, if there is somehting to release
Expand Down