Browse Source
Fix communication error on app change for Windows and Linux
master
Thibaut Boustany
7 years ago
No known key found for this signature in database
GPG Key ID: 32475B11A2B13EEC
1 changed files with
1 additions and
1 deletions
-
src/helpers/deviceAccess.js
|
|
@ -41,7 +41,7 @@ export const withDevice: WithDevice = devicePath => job => { |
|
|
|
refreshBusyUIState() |
|
|
|
try { |
|
|
|
// $FlowFixMe not sure what's wrong
|
|
|
|
const t = await retry(() => TransportNodeHid.open(devicePath), { maxRetry: 1 }).catch( |
|
|
|
const t = await retry(() => TransportNodeHid.open(devicePath), { maxRetry: 2 }).catch( |
|
|
|
mapError, |
|
|
|
) |
|
|
|
t.setDebugMode(logger.apdu) |
|
|
|