Skip to content

Commit

Permalink
fix: replace driver dispose with quit
Browse files Browse the repository at this point in the history
  • Loading branch information
litolax committed Jan 28, 2024
1 parent f2fa31c commit 08b31f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TeachersTimetable/Services/ParseService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ await this._botService.SendAdminMessageAsync(new SendMessageArgs(0,
}
finally
{
driver.Dispose();
driver.Quit();
}
}

Expand Down Expand Up @@ -391,7 +391,7 @@ public async Task UpdateTimetableTick()
LastWeekHtmlContent = content.Text;
}

driver.Dispose();
driver.Quit();
}

if (parseWeek)
Expand Down

0 comments on commit 08b31f9

Please sign in to comment.