Repository navigation
Fixes loss of the previous run’s crash event and capsule when the SDK closes early (PR #24).
- Complete queued crash processing before stopping monitoring.
- Preserve pending crash reports and journals when monitoring has already stopped.
- Stabilize crash tests and keep the MetricKit deduplication test within its rolling retention window.
SwiftPM: use version 0.4.2 from https://github.com/BugCapsule/bug_capsule_ios_sdk.git.
close(timeout:) can take longer than the timeout while queued crash work finishes; the timeout bounds the flush only.
Validation: release gates passed, including the full Swift test suite, release-mode replay gate, runtime verification, source packaging, and an external iOS Simulator consumer build.