mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-28 04:02:19 -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()
|
private void release()
|
||||||
{
|
{
|
||||||
MailService.saveLastCheckEnd(getApplication());
|
|
||||||
|
|
||||||
MessagingController controller = MessagingController.getInstance(getApplication());
|
MessagingController controller = MessagingController.getInstance(getApplication());
|
||||||
controller.setCheckMailListener(null);
|
controller.setCheckMailListener(null);
|
||||||
|
MailService.saveLastCheckEnd(getApplication());
|
||||||
|
|
||||||
MailService.actionReschedulePoll(PollService.this, null);
|
MailService.actionReschedulePoll(PollService.this, null);
|
||||||
wakeLockRelease();
|
wakeLockRelease();
|
||||||
if (K9.DEBUG)
|
if (K9.DEBUG)
|
||||||
|
Loading…
Reference in New Issue
Block a user