anycable / anycable-go

AnyCable real-time server
https://anycable.io
MIT License
375 stars 65 forks source link

Use idiomatic constructions for synchronization, fix a potential deadlock #64

Closed sponomarev closed 5 years ago

sponomarev commented 5 years ago

Looking through the code I've found a couple of places where some more specific technics for synchronization makes more sense. In addition, I've fixed a potential deadlock on multiple DisconnectQueue#Shutdown invocations and add more tests.

sponomarev commented 5 years ago

@palkan Do you have any other improvements in your mind?