mirror of
https://github.com/discourse/discourse.git
synced 2025-03-23 00:08:55 +08:00
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, uglified << "\n//# sourceMappingURL=#{cdn_path "/assets/#{to}.map"}")
|
||||||
File.write(dest + ".map", map)
|
File.write(dest + ".map", map)
|
||||||
|
|
||||||
|
GC.start
|
||||||
end
|
end
|
||||||
|
|
||||||
def gzip(path)
|
def gzip(path)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user