Skip to content

Commit

Permalink
Fixed download issue for D4Builds and Mobalytics imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
josdemmers committed Jun 18, 2024
1 parent 4ee4b7f commit 58e3890
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions D4Companion.Services/BuildsManagerD4Builds.cs
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,9 @@ public void DownloadD4BuildsBuild(string buildIdD4Builds)
}
finally
{
// Note:You need to call driver.close() before driver.quit() otherwise you get lingering chrome processes with high resource usage.
// This is an issue with recent chrome versions (124+).
_webDriver?.Close();
_webDriver?.Quit();
_webDriver = null;
_webDriverWait = null;
Expand Down
3 changes: 3 additions & 0 deletions D4Companion.Services/BuildsManagerMobalytics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,9 @@ public void DownloadMobalyticsBuild(string buildUrl)
}
finally
{
// Note:You need to call driver.close() before driver.quit() otherwise you get lingering chrome processes with high resource usage.
// This is an issue with recent chrome versions (124+).
_webDriver?.Close();
_webDriver?.Quit();
_webDriver = null;
_webDriverWait = null;
Expand Down

0 comments on commit 58e3890

Please sign in to comment.