Skip to content

Implement teardown contract for ESPWebPush#1

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

Implement teardown contract for ESPWebPush#1
zekageri merged 1 commit intomainfrom
feature/esp-webPush/teardown/teardown-contract-esp-webPush

Conversation

@zekageri
Copy link
Collaborator

Summary

  • replace initialized() with isInitialized() and remove compatibility aliasing
  • harden deinit() to fully converge teardown (worker task, queue drain/delete, crypto state reset, runtime key/config release) even for partial states
  • make worker task handle synchronization explicit with atomics to avoid teardown races
  • add lifecycle tests for pre-init deinit, idempotent deinit, re-init, and destructor teardown
  • update README/example/changelog to document explicit teardown usage and new API naming

Validation

  • cmake -S . -B build (fails in this environment: cmake not installed)
  • pio --version (fails in this environment: PlatformIO not installed)

@zekageri zekageri merged commit c33e1f0 into main Feb 24, 2026
5 checks passed
@zekageri zekageri deleted the feature/esp-webPush/teardown/teardown-contract-esp-webPush branch February 26, 2026 13:30
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