We must GC here otherwise we risk not freeing our v8 contexts

This commit is contained in:
Sam 2017-03-10 11:35:54 -05:00
parent f9f38873a2
commit 20ed11f9a5
1 changed files with 2 additions and 0 deletions

View File

@ -98,6 +98,8 @@ def compress_ruby(from,to)
File.write(dest, uglified << "\n//# sourceMappingURL=#{cdn_path "/assets/#{to}.map"}")
File.write(dest + ".map", map)
GC.start
end
def gzip(path)