Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Clean up only created device or directories by the process #8

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

nak3
Copy link
Contributor

@nak3 nak3 commented Dec 3, 2016

device: clean up only created device or directories by the process

This patches introduces a map to hold devices or directories which created by the process
for cleaning up them when Close is called.

Fixes #7

@mdlayher
Copy link

mdlayher commented Dec 3, 2016

Seems Iike the map should exist as a struct field on Device instead of as a package level variable.

@nak3
Copy link
Contributor Author

nak3 commented Dec 4, 2016

Thank you. Yes, I agree. I updated.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants