You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix popen cleanup in git file finder to prevent gc errors
- Add proper proc.wait() call in finally block to ensure process is reaped
- Add timeout and fallback to proc.kill() to prevent hanging
- This should resolve gc errors with popen objects in test_case_cwd_evil[git] on Windows
The previous code only called proc.wait() in the exception handler, leaving
processes unreleased in the normal flow, which could cause gc warnings about
unclosed subprocess popen objects.
0 commit comments