Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

goroutine leak #95

Open
artemovechkin opened this issue Dec 6, 2024 · 0 comments
Open

goroutine leak #95

artemovechkin opened this issue Dec 6, 2024 · 0 comments

Comments

@artemovechkin
Copy link

artemovechkin commented Dec 6, 2024

Hi!
When using the package, I encountered the problem of goroutines leakage, when closing the tunnel in hard-to-repeat cases, it apparently happens that the /knx/tunnel.go:358 pushInbound function writes to nil chan

Which in turn, instead of panic and completing the goroutine, there is a lock on nil chan

I would like to correct this point, can I open a pull request with the addition of closing the channel conn.inbound when closing the tunnel /knx/tunnel.go:623

thank you for your attention

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant