Guarding against polluted Object.prototypes
This commit is contained in:
parent
25db6e0bd8
commit
75448ad7ed
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ getOrCreateArchive = (p) ->
|
||||||
|
|
||||||
# Clean cache on quit.
|
# Clean cache on quit.
|
||||||
process.on 'exit', ->
|
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.
|
# Separate asar package's path from full path.
|
||||||
splitPath = (p) ->
|
splitPath = (p) ->
|
||||||
|
|
Loading…
Add table
Reference in a new issue