fix warnings

This commit is contained in:
Adam R. Grey 2021-08-21 00:23:14 -04:00
parent 4d5659f69c
commit f7478e1ae7

View File

@ -50,12 +50,12 @@ namespace director
while (true) while (true)
{ {
Task.WaitAll( Task.WaitAll(
checkCalendars(), Task.Run(checkCalendars),
Task.Delay(calendarNaptime) Task.Delay(calendarNaptime)
); );
} }
} }
private static async Task checkCalendars() private static void checkCalendars()
{ {
try try
{ {