Google is working on a patch for Chrome which will make it work a bit better with antivirus apps on Windows 10.

In a new commit on the Chromium Gerrit, Bruce Dawson, a software engineer at Google, explains an issue Chrome is having on Windows.

Anti-virus programs and other scanners may briefly lock new files which can lead to frequent problems with saving bookmarks and other files that use the ImportantFileWriter. The race condition between closing the temporary file and moving it gets hit on a regular basis on some system (https://crbug.com/1099284)

The issue is reportedly unique to Windows, but Dawson has proposed a solution.

This attempts to deal with this by retrying the racy ReplaceFile step a few times. This is only done on Windows because that is hoped to be the only place where it happens.

The patch is currently under review, and I wonder if it will reduce the period of time between a file being downloaded and actually being available to the end-user, a more user-visible issue.

via WindowsLatest.

Comments