Skip to content

close tcp listener if accept loop is interrupted#2

Open
markx wants to merge 1 commit intocaolan:masterfrom
markx:user-interrupt
Open

close tcp listener if accept loop is interrupted#2
markx wants to merge 1 commit intocaolan:masterfrom
markx:user-interrupt

Conversation

@markx
Copy link

@markx markx commented Mar 15, 2018

This closes the tcp listener after breaking the loop.

I find this useful when I use the server in REPL, where I may start the server multiple times.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant