go-rabbitmq icon indicating copy to clipboard operation
go-rabbitmq copied to clipboard

fix: consumer close before run

Open johanneswuerbach opened this issue 3 months ago • 2 comments

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.

johanneswuerbach avatar Mar 19 '24 09:03 johanneswuerbach