Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: don't panic if envContext is closed twice (#417)
It was possible for `Close()` to be invoked concurrently, which would cause a data race on some of the cleanup tasks (including closing other channels.) This specifically fixes a panic when using a combination of `exitAlways=1` and `ignoreConnectionErrors=1`.
- Loading branch information