wind-c / comqtt

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

Goleak #59

Closed perbu closed 11 months ago

perbu commented 11 months ago

I had an idea how to fix #58, the Goleak stuff. So I put most of the main() logic in realMain() and only do signal setup in main. This means we can spin up the whole thing in a test.

wind-c commented 11 months ago

good job