mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
Always cancel the task before starting it
This commit is contained in:
@@ -70,6 +70,7 @@ public class CustodianReturnShardViewModel extends AndroidViewModel
|
||||
this.ioExecutor = ioExecutor;
|
||||
this.task = task;
|
||||
qrCodeDecoder = new QrCodeDecoder(androidExecutor, ioExecutor, this);
|
||||
task.cancel();
|
||||
task.start(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user