Fix Windows crash when trying to free asar fd

This commit is contained in:
Eran Tiktin 2016-01-16 03:48:07 +02:00
parent b9789ef191
commit 85449e953e

View file

@ -130,6 +130,7 @@ Archive::Archive(const base::FilePath& path)
Archive::~Archive() {
#if defined(OS_WIN)
file_.Close();
_close(fd_);
#endif
}