MQTT: missing data (#12801)
Some checks failed
Some checks failed
This commit is contained in:
parent
2baf65af7c
commit
b5758f6a0f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue