Browse Source

Merge pull request #170 from astromechza/fix-169

fix: initialise handlerMu in consumer (#169)
pull/175/head v0.14.1
Lane Wagner 1 year ago
committed by GitHub
parent
commit
ef6a38050e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
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