diff --git a/weed/messaging/client/client.go b/weed/messaging/client/client.go index 910fd02e9..4a674a9fc 100644 --- a/weed/messaging/client/client.go +++ b/weed/messaging/client/client.go @@ -23,10 +23,6 @@ func NewMessagingClient(bootstrapBrokers []string) (*MessagingClient, error) { return nil, err } - util.OnInterrupt(func() { - grpcConnection.Close() - }) - return &MessagingClient{ bootstrapBrokers: bootstrapBrokers, grpcConnection: grpcConnection,