You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error.code==='Device_UsedElsewhere'// most common error - someone else took the device at the same time
369
+
// device had some session when first seen -> we do not read it so that we don't interrupt somebody else's flow
370
+
error.code==='Device_UsedElsewhere'||
371
+
// TODO: is this needed? can't I just use transport error?
372
+
error.code==='Device_InitializeFailed'
366
373
){
367
-
// TODO needed only for TRANSPORT_ERROR.SESSION_WRONG_PREVIOUS
368
-
// this.enumerate(transport);
369
374
this.emitLifecycle(DEVICE.CONNECT_UNACQUIRED);
370
375
}elseif(
371
376
// device was claimed by another application on transport api layer (claimInterface in usb nomenclature) but never released (releaseInterface in usb nomenclature)
372
377
// the only remedy for this is to reconnect device manually
373
-
// or possibly there are 2 applications without common sessions background
0 commit comments