go-rabbitmq
go-rabbitmq copied to clipboard
fix: consumer close before run
When running consumer.Close
before the consumer.Run
has finished, Run
will never return.
Prevent this by also getting the isClosedMux
lock while initialising the handler.