GODT-2039: bridge monitors bridge-gui via its PID.

This commit is contained in:
Xavier Michelon
2022-11-08 11:08:11 +01:00
committed by Romain LE JEUNE
parent f5148074fd
commit 3b9a3aaad2
7 changed files with 74 additions and 9 deletions

View File

@ -71,8 +71,9 @@ func (s *Service) RunEventStream(request *EventStreamRequest, server Bridge_RunE
return err
}
case <-server.Context().Done():
s.log.Debug("Client closed the stream, exiting")
return s.quit()
s.log.Info("Client closed the stream, initiating shutdown")
s.quit()
return nil
}
}
}