tracking-allocator
tracking-allocator copied to clipboard
Write test to ensure that dropping an allocation group guard doesn't panic if already exited.
We recently fixed a bug where dropping the allocation group guard for an already exited group lead to trying to transition to idle when the group was already idle, which caused a panic as it is not correct behavior.
We need to write a test to back up that change and ensure we don't regress in the future.