mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 21:22:26 -05:00
Remove controller first
This commit is contained in:
parent
9d2a4c3af9
commit
3c7eea7fa5
@ -141,10 +141,11 @@ public class PollService extends CoreService
|
||||
|
||||
private void release()
|
||||
{
|
||||
MailService.saveLastCheckEnd(getApplication());
|
||||
|
||||
MessagingController controller = MessagingController.getInstance(getApplication());
|
||||
controller.setCheckMailListener(null);
|
||||
MailService.saveLastCheckEnd(getApplication());
|
||||
|
||||
MailService.actionReschedulePoll(PollService.this, null);
|
||||
wakeLockRelease();
|
||||
if (K9.DEBUG)
|
||||
|
Loading…
Reference in New Issue
Block a user