Browse Source

fix: initialise handlerMu in consumer (#169)

pull/170/head
Ben Meier 1 year ago
parent
commit
a268da1d12
Failed to extract signature
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      consume.go

+ 1
- 0
consume.go View File

@ -73,6 +73,7 @@ func NewConsumer(
reconnectErrCh: reconnectErrCh,
closeConnectionToManagerCh: closeCh,
options: *options,
handlerMu: &sync.RWMutex{},
isClosedMu: &sync.RWMutex{},
isClosed: false,
}


Loading…
Cancel
Save