google / google/CodeCity

CC.connectionUnlisten blocks unexpectedly

Open
#329 0 comments 0 reactions 0 assignees View on GitHub
enhancement server
Dominant language
JavaScript
Stars
198
Forks
38
PR merge metrics
No merged PRs in 30d

Description

Calls to `CC.connectionUnlisten(port)` sometimes block for a long time.

This is probably caused by there being open connections to port `port`, and the net.Server waiting for them to finish.

`CC.connectionUnlisten` should terminate ~immediately—forcibly closing existing connections if necessary.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.