From f3871ebca21232ae590784f522aa96642d01502e Mon Sep 17 00:00:00 2001 From: lhridder Date: Sat, 10 Feb 2024 21:48:37 +0100 Subject: [PATCH] fix tableflip old listener still staying online --- cmd/infrared/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/infrared/main.go b/cmd/infrared/main.go index df54e49..e6b894b 100644 --- a/cmd/infrared/main.go +++ b/cmd/infrared/main.go @@ -210,6 +210,7 @@ func main() { } <-infrared.Upg.Exit() log.Println("Starting tableflip shutdown for old instance") + gateway.Close() gateway.WaitConnGroup() log.Println("Shutting down infrared")