diff --git a/TeachersTimetable/Services/ParseService.cs b/TeachersTimetable/Services/ParseService.cs index b8e0738..a88e2f4 100644 --- a/TeachersTimetable/Services/ParseService.cs +++ b/TeachersTimetable/Services/ParseService.cs @@ -168,7 +168,7 @@ await this._botService.SendAdminMessageAsync(new SendMessageArgs(0, } finally { - driver.Dispose(); + driver.Quit(); } } @@ -391,7 +391,7 @@ public async Task UpdateTimetableTick() LastWeekHtmlContent = content.Text; } - driver.Dispose(); + driver.Quit(); } if (parseWeek)