-
Notifications
You must be signed in to change notification settings - Fork 24
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
Stream deadlock #7
Labels
kind/bug
A bug in existing code (including security flaws)
Comments
Damn. Nice catch! |
Hm. Although, this raises a good question. Why do we have multiple readers here? |
Thanks for fixing it! |
Got it. In this case, just call |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've got a deadlock using Stream
goroutine 1 took
s.recvLock.Lock()
and thens.stateLock.Lock()
goroutine 2 took
s.stateLock.Lock()
and thens.recvLock.Lock()
The text was updated successfully, but these errors were encountered: