Skip to content

Utilize Weak for finalizing socket on GC in 3.0.0.0 #299

Description

@eborden

We were previously utilizing finalizers on MVar in 2.7.0.0. We've removed SocketStatus and the MVar that wrapped it, so we no longer have that option. We should utilize Weak for this purpose:

https://hackage.haskell.org/package/base-4.10.1.0/docs/System-Mem-Weak.html

Activity

  1. eborden commented on Jan 26, 2018

    @eborden
    CollaboratorAuthor
  2. kazu-yamamoto commented on Jan 31, 2018

    @kazu-yamamoto
    Collaborator

    Close this in favor of #302.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions