mumble-voip / grumble

Alternative Mumble server
http://mumble.info/grumble
Other
280 stars 87 forks source link

Don't close the TCP listener, only the TLS listener #45

Closed olabiniV2 closed 4 years ago

olabiniV2 commented 4 years ago

When calling Server.Close(), it will always fail, since it tries to close the TLS listener and then the TCP listener. However, the TLS listener wraps the TCP listener, and when the TLS listener is closed, it also automatically closes the underlying TCP listener. Thus, Stop will always return an error when trying to close the TCP listener.

davidebeatrici commented 4 years ago

Thank you very much for your contribution!