mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-08 01:53:25 +02:00
Cancel Send
This commit is contained in:
@@ -185,6 +185,9 @@ public class Send {
|
||||
ws.sendBinary(message);
|
||||
|
||||
seq++;
|
||||
|
||||
if (!intf.isRunning())
|
||||
throw new InterruptedException();
|
||||
}
|
||||
|
||||
Log.i("Send EOF size=" + size);
|
||||
@@ -261,5 +264,7 @@ public class Send {
|
||||
|
||||
public interface IProgress {
|
||||
void onProgress(int percentage);
|
||||
|
||||
boolean isRunning();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user