wind-c / comqtt

A lightweight, high-performance go mqtt server(v3.0|v3.1.1|v5.0) supporting distributed cluster
MIT License
972 stars 53 forks source link

Fix for the leak test #63

Closed perbu closed 1 year ago

perbu commented 1 year ago

I've got the leak test working. I've looked over the threads that were left. I see I could stop the event loop by closing the channel on shutdown. I assume the event loop will only be stopped once.

I've also made a few other improvements along the way.

Cheers,

Per.

wind-c commented 1 year ago

Good job. Cheers!