Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCing Socket in the new definition. #301

Closed
wants to merge 1 commit into from

Conversation

kazu-yamamoto
Copy link
Collaborator

This should fix #299.

Testing:

  • Remove the comment around the finalizer
  • Run tests/GCSocket.hs

@kazu-yamamoto kazu-yamamoto requested a review from eborden January 29, 2018 07:32
@kazu-yamamoto
Copy link
Collaborator Author

GHC 7.10 results in:

  tests/SimpleSpec.hs:56: 
  1) Simple.sendMany works well
       uncaught exception: IOException of type InvalidArgument (threadWait: invalid argument (Bad file descriptor))

@kazu-yamamoto kazu-yamamoto mentioned this pull request Jan 30, 2018
3 tasks
@kazu-yamamoto
Copy link
Collaborator Author

Closing this due to #302.

@kazu-yamamoto kazu-yamamoto deleted the gc-socket branch February 6, 2018 03:56
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.

Utilize Weak for finalizing socket on GC in 3.0.0.0
1 participant