Skip to content

Fix the socket leak#188

Closed
zsxwing wants to merge 1 commit intopy4j:masterfrom
zsxwing:socket-leak
Closed

Fix the socket leak#188
zsxwing wants to merge 1 commit intopy4j:masterfrom
zsxwing:socket-leak

Conversation

@zsxwing
Copy link
Contributor

@zsxwing zsxwing commented Jan 4, 2016

The previous codes only close the socket when throwing an exception. This patch just fixed it and also removed the connection from CallbackServer.connections.

Fixes #187

@zsxwing zsxwing force-pushed the socket-leak branch 3 times, most recently from a878e3f to dc495f4 Compare January 4, 2016 20:54
bartdag added a commit that referenced this pull request Jan 5, 2016
bartdag added a commit that referenced this pull request Jan 5, 2016
@zsxwing zsxwing closed this Jan 5, 2016
@zsxwing zsxwing deleted the socket-leak branch January 12, 2016 21:09
@bartdag bartdag added this to the 0.9.1 milestone Apr 18, 2016
bartdag added a commit that referenced this pull request May 27, 2016
bartdag added a commit that referenced this pull request May 27, 2016
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.

Socket descriptor leak

2 participants