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

Current implementation Panics if accessing Default NVS partition #23

Open
michaelvanstraten opened this issue Jun 27, 2023 · 0 comments

Comments

@michaelvanstraten
Copy link

The current implementation of the custom attribute descriptor appears to indefinitely reference the EspDefaultNvsPartition. This leads to a panic when someone else attempts to access the mentioned default partition.

This issue arises from the lazy initialization of a static variable (STORAGE) in src/gatt_server/custom_attributes.rs, which retains a Mutex lock until itself is dropped. I am working on resolving this problem promptly and wanted to inform anyone else who may encounter the same issue.

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