mirror of
https://github.com/discourse/discourse.git
synced 2025-03-20 14:57:56 +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 + ".map", map)
|
||||
|
||||
GC.start
|
||||
end
|
||||
|
||||
def gzip(path)
|
||||
|
Loading…
x
Reference in New Issue
Block a user