From: Kirk Ouimet Date: Mon, 8 Jun 2015 06:59:49 +0000 (-0700) Subject: Guarding against polluted Object.prototypes X-Git-Tag: v0.28.0~24^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=75448ad7ed989a28bdd0ad87a90a25f6b92ce83c;p=electron.git Guarding against polluted Object.prototypes --- diff --git a/atom/common/lib/asar.coffee b/atom/common/lib/asar.coffee index f70d2c45..a17ac729 100644 --- a/atom/common/lib/asar.coffee +++ b/atom/common/lib/asar.coffee @@ -14,7 +14,7 @@ getOrCreateArchive = (p) -> # Clean cache on quit. process.on 'exit', -> - archive.destroy() for p, archive of cachedArchives + archive.destroy() for own p, archive of cachedArchives # Separate asar package's path from full path. splitPath = (p) ->