fvogt added a comment.
In D28535#640682 <https://phabricator.kde.org/D28535#640682>, @feverfew wrote: > In D28535#640674 <https://phabricator.kde.org/D28535#640674>, @fvogt wrote: > > > What you're suggesting is to change `MTPDevice::getDevice` to return the old device if reopening fails - but reopening without releasing might not work. > > > This seems to be a robust solution IMO, why do you suspect this might not work? Because there can only be a single libusb session per device. So you have to release the old one before opening again. REPOSITORY R320 KIO Extras REVISION DETAIL https://phabricator.kde.org/D28535 To: feverfew, akrutzler, dfaure, elvisangelaccio Cc: anthonyfieroni, kde-frameworks-devel, fvogt, kfm-devel, ngraham, nikolaik, pberestov, iasensio, fprice, LeGast00n, cblack, fbampaloukas, alexde, GB_2, Codezela, feverfew, meven, michaelh, spoorun, navarromorales, firef, andrebarros, bruns, emmanuelp, mikesomov