Skip to content
  • Cecylia Bocovich's avatar
    Send shutdown signal to shutdown open connections · b9cc54b3
    Cecylia Bocovich authored
    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.
    b9cc54b3