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

Memory Bug #2

Closed
Dachui66 opened this issue Dec 14, 2023 · 0 comments
Closed

Memory Bug #2

Dachui66 opened this issue Dec 14, 2023 · 0 comments

Comments

@Dachui66
Copy link

The member variable removed_tracks defined in the class BYTETracker is not properly cleaned up, which can lead to memory growth and decreased code execution speed.

I suggest adding the following line at the end of the member function void BYTETracker::handle_lost_and_removed_tracks:

this->removed_tracks.clear();
@cj-mills cj-mills closed this as completed Jan 2, 2024
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

No branches or pull requests

2 participants