diff options
Diffstat (limited to 'pkg/server/server.go')
-rw-r--r-- | pkg/server/server.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/server/server.go b/pkg/server/server.go index 5971bc6d..d9a65c0f 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -1770,6 +1770,7 @@ func (s *BgpServer) StopBgp(ctx context.Context, r *api.StopBgpRequest) error { if s.shutdownWG != nil { s.shutdownWG.Wait() + s.shutdownWG = nil } return nil } |