You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I did unsubscribe mqtt in the componentWillUnmount() { const { mqtt } = this.props; mqtt.unsubscribe(mqttTopic); } , but it does not work. It seems like not unsubscribe the topic. when I re-render component, the messageIdToTopic increase. it caused the mqtt.publish not work.
anyone can give suggestion?
The text was updated successfully, but these errors were encountered:
Hi, I did unsubscribe mqtt
in the componentWillUnmount() { const { mqtt } = this.props; mqtt.unsubscribe(mqttTopic); }
, but it does not work. It seems like not unsubscribe the topic. when I re-render component, the messageIdToTopic increase. it caused the mqtt.publish not work.anyone can give suggestion?
The text was updated successfully, but these errors were encountered: