Skip to content

Close RPC listener on shutdown#157

Merged
mattn merged 1 commit into
masterfrom
fix-rpc-listener-leak
Jul 8, 2026
Merged

Close RPC listener on shutdown#157
mattn merged 1 commit into
masterfrom
fix-rpc-listener-leak

Conversation

@mattn

@mattn mattn commented Jul 8, 2026

Copy link
Copy Markdown
Owner

startServer never closed the listener, leaking the port and the Accept goroutine. Adds a test that the port is released.

@mattn
mattn force-pushed the fix-rpc-listener-leak branch from b7d9480 to 7cf2ba3 Compare July 8, 2026 01:09
@mattn
mattn merged commit bf53d59 into master Jul 8, 2026
2 checks passed
@mattn
mattn deleted the fix-rpc-listener-leak branch July 8, 2026 01:12
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