mark Rack::HeaderHash for GC.compact
commit87dd5946635d91acb7d28ef43acbc4c72a717fa9
authorEric Wong <bofh@yhbt.net>
Mon, 24 May 2021 21:56:29 +0000 (24 21:56 +0000)
committerEric Wong <bofh@yhbt.net>
Mon, 24 May 2021 21:56:29 +0000 (24 21:56 +0000)
tree9166261fd7bc7481d80a46ddd74345ec31e7eb15
parent7a24e31fb709f913e6b8a0eaedc885c96b1a7938
mark Rack::HeaderHash for GC.compact

With GC.compact in Ruby 3.x, Ruby-defined constants need to be
explicitly marked to prevent movement:

Link: https://yhbt.net/kgio-public/CAAvYYt5Z5f2rMuXO5DMpR1-6uRvu_gXKDvqcyoZ+oNcLiTH39g@mail.gmail.com/T/
ext/clogger_ext/clogger.c