8000 Don't try to handle canceled connections by markdrayton · Pull Request #79 · go-ble/ble · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Don't try to handle canceled connections #79

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

Merged
merged 1 commit into from
May 19, 2021

Conversation

markdrayton
Copy link

Currently the check to see if a connection was canceled happens after
newConn() is called, leaking a goroutine waiting to receive on chInPkt.
Move the check up.

Closes #77.

Currently the check to see if a connection was canceled happens *after*
newConn() is called, leaking a goroutine waiting to receive on chInPkt.
Move the check up.
@markdrayton
Copy link
Author

Whoops, sorry for the duplicate PR. I fixed a typo in my branch name and didn't expect this to close the first PR for me (though that makes sense in hindsight).

@estutzenberger estutzenberger merged commit 3abdc48 into go-ble:master May 19, 2021
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

Successfully merging this pull request may close these issues.

Leaking goroutines in Conn.recombine()?
2 participants
0