Browse Source

Terminate backoff on stop

main
M66B 6 years ago
parent
commit
c7e290661c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/src/main/java/eu/faircode/email/ServiceSynchronize.java

+ 1
- 0
app/src/main/java/eu/faircode/email/ServiceSynchronize.java View File

@ -1470,6 +1470,7 @@ public class ServiceSynchronize extends LifecycleService {
} }
try { try {
main.interrupt(); // backoff
Log.i(Helper.TAG, "Joining " + main.getName()); Log.i(Helper.TAG, "Joining " + main.getName());
main.join(); main.join();
Log.i(Helper.TAG, "Joined " + main.getName()); Log.i(Helper.TAG, "Joined " + main.getName());


Loading…
Cancel
Save