Skip to content

Implement teardown contract for ESPStore#1

Merged
zekageri merged 1 commit intomainfrom
feature/esp-store/teardown/teardown-contract-esp-store
Feb 24, 2026
Merged

Implement teardown contract for ESPStore#1
zekageri merged 1 commit intomainfrom
feature/esp-store/teardown/teardown-contract-esp-store

Conversation

@zekageri
Copy link
Collaborator

Summary

  • add ESPStore::deinit() and ESPStore::isInitialized() const
  • make destructor delegate teardown and remove ready() (no compatibility alias)
  • make teardown idempotent, pre-init safe, and release runtime/default state
  • add lifecycle tests for pre-init deinit, double deinit, and init->deinit->init
  • update README/examples/changelog to show explicit deinit usage

Validation

  • unable to run on-device tests in this environment (arduino-cli/pio unavailable)

@zekageri zekageri merged commit 31fb83e into main Feb 24, 2026
5 checks passed
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