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 2e3f4ee commit 29f1259
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions StudentsTimetable/Services/ParseService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ private async Task ParseDay()
}
finally
{
driver.Dispose();
driver.Quit();
}
}

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

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

if (parseWeek)
Expand Down

0 comments on commit 29f1259

Please sign in to comment.