sbidy / pywizlight

A python connector for WiZ devices
MIT License
463 stars 79 forks source link

Fix memory leak in discovery #107

Closed bdraco closed 2 years ago

bdraco commented 2 years ago

There is a risk of leaking since self.loop.call_later(1, self.broadcast_registration) keeps calling and if self.transport is never cleared it will run as long as the object exists