Skip to content

Send shutdown signal to shutdown open connections

Cecylia Bocovich requested to merge cohosh/snowflake:issue/40018 into master

Normally all dangling goroutines are terminated when the main function exits. However, for projects that use a patched version of snowflake as a library, these goroutines continued running as long as the main function had not yet terminated. This commit has all open SOCKS connections close after receiving a shutdown signal.

Closes #40018 (closed)

Merge request reports