Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

File should not be accessible after repo is closed #59

Closed
burmecia opened this issue Dec 6, 2019 · 0 comments
Closed

File should not be accessible after repo is closed #59

burmecia opened this issue Dec 6, 2019 · 0 comments

Comments

@burmecia
Copy link
Contributor

burmecia commented Dec 6, 2019

Currently a opened file is still accessible even after repo is closed. The reason is that an opened file is still holding strong reference to underlying storage object, which prevents storage object from being released. A closed repo must not allow any open file access. This can be achieved by let open file hold weak reference to storage object.

@burmecia burmecia changed the title File should not be accessilbe after repo is closed File should not be accessible after repo is closed Dec 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant