Skip to content

Commit ed3c63c

Browse files
author
Guy Baron
committed
fix linting issues
1 parent c4d5819 commit ed3c63c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gbus/outbox.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func (out *AMQPOutbox) init(amqp *amqp.Channel, confirm, resendOnNack bool) erro
5151
}
5252

5353
func (out *AMQPOutbox) Shutdown() {
54-
out.stop <- true
54+
close(out.stop)
5555

5656
}
5757

0 commit comments

Comments
 (0)