Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
journal: only destroy the connection if it is set
Prevent re-use of a destroyed connection by setting it to `nil`. This way it is also safe to call `Destroy()` multiple times without causing a panic. Signed-off-by: Niels de Vos <ndevos@ibm.com>
- Loading branch information