Remove SessionConntectedTask.

This commit is contained in:
Burak Kaan Köse
2024-08-09 01:24:55 +02:00
parent b07ae4bc42
commit 5901344459
6 changed files with 13 additions and 87 deletions

View File

@@ -236,14 +236,14 @@ namespace Wino.Mail.ViewModels
await ProcessLaunchOptionsAsync();
await ForceAllAccountSynchronizationsAsync();
await ConfigureBackgroundTasksAsync();
ConfigureBackgroundTasks();
}
private async Task ConfigureBackgroundTasksAsync()
private void ConfigureBackgroundTasks()
{
try
{
await _backgroundTaskService.HandleBackgroundTaskRegistrations();
_backgroundTaskService.UnregisterAllBackgroundTask();
}
catch (Exception ex)
{