Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 16, 2024. It is now read-only.
This repository was archived by the owner on Dec 16, 2024. It is now read-only.

Unnecessary Value parameter for release/2,3 #11

@hamidreza-s

Description

@hamidreza-s

As type of locker_db is set so for every unique key there is just one unique value, so I wonder what is the purpose of passing Value as second parameter to release/2,3 functions?

In the release callback of locker's gen_server, the passed Value parameter just is used to matched with the Value returned from ets table, which seems to be unnecessary.

If it is the case, I can fix it and send a pull request.

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