We must GC here otherwise we risk not freeing our v8 contexts
This commit is contained in:
parent
f9f38873a2
commit
20ed11f9a5
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue