Skip to content

Conversation

@Dav1dde
Copy link
Member

@Dav1dde Dav1dde commented Dec 22, 2025

No need to leak in tests. While this may in general be fine in tests, we should not let bad practices spread throughout the code base. For this specific case we already have Context::for_test(), if this is not ergonomic enough more helper functions can be introduced or macros to manage lifetimes properly.

@Dav1dde Dav1dde requested a review from a team as a code owner December 22, 2025 12:47
@Dav1dde Dav1dde self-assigned this Dec 22, 2025
@Dav1dde Dav1dde added this pull request to the merge queue Jan 5, 2026
Merged via the queue into master with commit f6e154b Jan 5, 2026
30 of 47 checks passed
@Dav1dde Dav1dde deleted the dav1d/rm-box-leak branch January 5, 2026 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants