From: Eran Tiktin Date: Sat, 16 Jan 2016 01:48:07 +0000 (+0200) Subject: Fix Windows crash when trying to free asar fd X-Git-Tag: v0.36.5~32^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=85449e953efb638154da4bcc547fcc32eb8b56cd;p=electron.git Fix Windows crash when trying to free asar fd --- diff --git a/atom/common/asar/archive.cc b/atom/common/asar/archive.cc index 1e986719..d6abf1ce 100644 --- a/atom/common/asar/archive.cc +++ b/atom/common/asar/archive.cc @@ -130,6 +130,7 @@ Archive::Archive(const base::FilePath& path) Archive::~Archive() { #if defined(OS_WIN) + file_.Close(); _close(fd_); #endif }