Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: netns: Guard against "double free" when failing to setup netns
When used as a context manager, __exit__ will be called even though __enter__ might throw an exception half way through. So there is no guarantee that the instance is on the cleanup list when we get to stop().
- Loading branch information