mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 16:47:31 -05:00
Co-authored-by: Denny <denny@denny-desktop>
This commit is contained in:
@@ -162,7 +162,7 @@ public class USBTransferProcessor implements TransferCallback
|
||||
{
|
||||
if(mBufferDispatcherFuture != null)
|
||||
{
|
||||
mBufferDispatcherFuture.cancel(true);
|
||||
mBufferDispatcherFuture.cancel(false);
|
||||
mBufferDispatcherFuture = null;
|
||||
}
|
||||
|
||||
@@ -174,7 +174,7 @@ public class USBTransferProcessor implements TransferCallback
|
||||
|
||||
//Await completion of all in-progress transfers
|
||||
int waitCycleCount = 0;
|
||||
while(!mInProgressTransfers.isEmpty() && waitCycleCount < 10)
|
||||
while(!mInProgressTransfers.isEmpty() && waitCycleCount < 30)
|
||||
{
|
||||
waitCycleCount++;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user