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

keeper: fix datadir locking #405

Merged
merged 1 commit into from
Jan 10, 2018
Merged

Conversation

sgotti
Copy link
Member

@sgotti sgotti commented Jan 10, 2018

lockFile wasn't referenced and so the gc will collect it and close its
file descriptor releasing the lock.

To keep it referenced just explicitly Close lockFile before exiting.

lockFile wasn't referenced and so the gc will collect it and close its
file descriptor releasing the lock.

To keep it referenced just explicitly Close lockFile before exiting.
@sgotti sgotti merged commit 666fbd3 into sorintlab:master Jan 10, 2018
sgotti added a commit that referenced this pull request Jan 10, 2018
@sgotti sgotti added this to the v0.8.0 milestone Jan 18, 2018
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