Skip to content

HTTP server doesn't shut down when process is exited #20

Description

@vadimdemedes

When my Go program contains a net/http server and process is exited via Ctrl + C or q, the process apparently keeps hanging around, because when I restart the program, the port is still taken. Interestingly, this doesn't happen when the same program is ran without dispatch run.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions