diff --git a/ironhawk/main.go b/ironhawk/main.go index 9a0d3d5..a15f07b 100644 --- a/ironhawk/main.go +++ b/ironhawk/main.go @@ -121,6 +121,7 @@ func Run(host string, port int) { case <-sigChanWatchMode: fmt.Println("exiting the watch mode. back to command mode") shouldExitWatchMode = true + client.CloseWatch() case resp := <-ch: // If we get any response over the watch channel, // render the response