Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
network-tunnel: Don't fail on Stop() of nil tunnel
Currently `source-oracle` does an unconditional `db.tunnel.Stop()` during shutdown regardless of whether a network tunnel exists, but the implementation of `Stop()` assumes that the tunnel must not be nil. This disagreement could be resolved in either direction, but it seemed cleaner to just make `Stop()` a no-op for nil receivers.
- Loading branch information