MQTT: missing data (#12801)
Some checks failed
Release / call-build-workflow (push) Has been cancelled
Release / Publish Docker :release (push) Has been cancelled
Release / Github & APT (push) Has been cancelled
Release / Demo (push) Has been cancelled
Release / Hassio Addon (push) Has been cancelled

This commit is contained in:
Michael Geers 2024-03-09 09:16:31 +01:00 • committed by GitHub
parent 2baf65af7c
commit b5758f6a0f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -137,7 +137,7 @@ func (m *Client) Cleanup(topic string, retained bool) error {
time.Sleep(time.Second)
if !m.Client.Unsubscribe(topic).WaitTimeout(request.Timeout) {
if !m.Client.Unsubscribe(topic + "/#").WaitTimeout(request.Timeout) {
return api.ErrTimeout
}