adrianriobo/qe-eventmanager

[BUG] Error stopping the qe-eventmanager

adrianriobo opened this issue · 0 comments

When stopping the qe-eventmanager with ctrl+c a panic error is shown:

^Cpanic: sync: negative WaitGroup counter

goroutine 24 [running]:
sync.(*WaitGroup).Add(0xc0000404c4, 0xffffffffffffffff)
	/usr/lib/golang/src/sync/waitgroup.go:74 +0x139
sync.(*WaitGroup).Done(0xc0000404c4)
	/usr/lib/golang/src/sync/waitgroup.go:99 +0x34
github.com/adrianriobo/qe-eventmanager/pkg/services/messaging/umb.consume(0xc0000a25a0, 0xc0000404e0)
	/workspace/pkg/services/messaging/umb/client.go:85 +0x1c3
created by github.com/adrianriobo/qe-eventmanager/pkg/services/messaging/umb.Subscribe
	/workspace/pkg/services/messaging/umb/client.go:60 +0x244