mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-11-27 15:53:41 +00:00
unlock mutex before return
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
1f2b1702ea
commit
3cd74ce683
@ -187,6 +187,7 @@ func (mms *MqttMonitor) MonitorActiveParticipants() {
|
||||
clientMutex.Lock()
|
||||
if localMqttClient != nil {
|
||||
log.Println("[app] [Monitor] client is still working")
|
||||
clientMutex.Unlock()
|
||||
return
|
||||
}
|
||||
localMqttClient = mms.lazyLoadMonitorMQTTClient()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user