Respond first before exiting

Former-commit-id: d74c643a6d
This commit is contained in:
Owen
2025-12-02 21:53:23 -05:00
parent 293e507000
commit 58ce93f6c3
2 changed files with 12 additions and 13 deletions

View File

@@ -214,10 +214,6 @@ func StartTunnel(config TunnelConfig) {
// debug print out the whole config
logger.Debug("Starting tunnel with config: %+v", config)
if config.Holepunch {
logger.Warn("Hole punching is enabled. This is EXPERIMENTAL and may not work in all environments.")
}
// Create a cancellable context for this tunnel process
tunnelCtx, cancel := context.WithCancel(globalCtx)
tunnelCancel = cancel