diff --git a/D4Companion.Services/BuildsManagerD4Builds.cs b/D4Companion.Services/BuildsManagerD4Builds.cs index 0772d2a5..f16ed678 100644 --- a/D4Companion.Services/BuildsManagerD4Builds.cs +++ b/D4Companion.Services/BuildsManagerD4Builds.cs @@ -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; diff --git a/D4Companion.Services/BuildsManagerMobalytics.cs b/D4Companion.Services/BuildsManagerMobalytics.cs index 826cbb76..3df0974f 100644 --- a/D4Companion.Services/BuildsManagerMobalytics.cs +++ b/D4Companion.Services/BuildsManagerMobalytics.cs @@ -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;