Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow initialization to fail if the program gets stuck in the postServiceCheck while-loop #22

Closed
wants to merge 3 commits into from

Conversation

pwik
Copy link

@pwik pwik commented Mar 25, 2019

Fix for #21. Adds a retry counter and allows the initialization of the library to fail. On Windows systems the smart card resource manager may be unresponsive or not running in case not readers are attached to the system. In that case the initialization will get stuck.

@ChadMcCallum
Copy link

Just wanted to leave a note - this took me a day and a half to resolve why my compiled electron app wouldn't work on other peoples' machines. Finally stumbled across this PR, and using this branch I'm able to try/catch the new NFC() call and deal with it appropriately. I'd appreciate the merge (as I'm sure others would as well), as well as an update of nfc-pcsc so I don't have to refer to this fork directly in my node dependencies :)

@trex005
Copy link

trex005 commented Sep 3, 2019

I just wanted to add my vote as well. This is causing me issues for development.

@pwik pwik closed this Nov 25, 2019
@esskar
Copy link

esskar commented Apr 26, 2024

is there a reason why this was closed?

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.

4 participants