wialon / gmqtt

Python MQTT v5.0 async client
MIT License
385 stars 53 forks source link

Unsubscribe doesn't remove the topic from the internal list #131

Closed BinarSkugga closed 2 years ago

BinarSkugga commented 2 years ago

The unsubscribe method doesn't remove the topic from self.subscriptions internal list. It causes a very slow memory leak over time for clients that subscribe and unsubscribe to topics containing unique paths.