Skip to content
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

pytest_plugin: GC after resetting command scheduler #233

Merged
merged 1 commit into from
Jul 7, 2024

Conversation

auscompgeek
Copy link
Member

Problem

Subsystems holding references to HAL objects, e.g. transitively via rev.CANSparkMax, cause every second pyfrc test to fail.

Solution

GC after resetting the CommandScheduler.

@virtuald virtuald merged commit 30ac771 into main Jul 7, 2024
18 checks passed
@virtuald virtuald deleted the gc-after-reset-sched branch July 7, 2024 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants