Skip to content

[Client] Improve stop() handling when it triggers PCSC shutdown errors#2

Merged
kofi-q merged 1 commit into
mainfrom
fix-stop-and-resume
Jun 18, 2025
Merged

[Client] Improve stop() handling when it triggers PCSC shutdown errors#2
kofi-q merged 1 commit into
mainfrom
fix-stop-and-resume

Conversation

@kofi-q
Copy link
Copy Markdown
Owner

@kofi-q kofi-q commented Jun 18, 2025

Ran into an edge case while adding stop/resume functionality to the E2E app - if the client is is stopped while waiting on state updates, a NoService error code is returned (at least on macos so far).

Was previously only ignoring the Cancelled code, so the app exits on the unexpected error - switching to tracking the running state of the client in JS and ignoring errors while we're explicitly shutting down.

Bumping patch version to v0.1.2.

Ran into an edge case while adding stop/resume functionality to the
E2E app - if the client is is stopped while waiting on state updates,
a `NoService` error code is returned (at least on macos so far).

Was previously only ignoring the `Cancelled` code, so the app exits on
the unexpected error - switching to tracking the running state of the
client in JS and ignoring errors while we're explicitly shutting down.

Bumping patch version to v0.1.2.
@kofi-q kofi-q merged commit f6a5eaf into main Jun 18, 2025
2 checks passed
@kofi-q kofi-q deleted the fix-stop-and-resume branch June 18, 2025 04:01
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