shamblett / coap

A Coap package for dart
Other
16 stars 13 forks source link

Polling causes memory leak by retaining request objects indefinitely #188

Closed JosefWN closed 3 months ago

JosefWN commented 3 months ago

Solves https://github.com/shamblett/coap/issues/187

Linted & upgraded deps while I was at it. Currently running 10k requests and watching out for leaks, but looking good after 1000 requests...

I don't have a good setup to test multicast requests right now, but they should still work 🤞🏻

UPDATE: Okay, done running the polling, no leaks observed!