Merge branch '4233-graph-job-stats' closes #4233
[arvados.git] / services / keepproxy / keepproxy.go
index cd0a872b9b9c2c13e70ef4ab38375629d06dcadd..de4ccafc28dd90f6ddbab4690bcc02976dcfa4af 100644 (file)
@@ -104,6 +104,7 @@ func main() {
                s := <-sig
                log.Println("caught signal:", s)
                listener.Close()
+               listener = nil
        }(term)
        signal.Notify(term, syscall.SIGTERM)
        signal.Notify(term, syscall.SIGINT)