rails/rails — pull request #11940 by baroquebobcat (2013-08-19 18:41:38+00:00)
Title: ensure freeze on Thread freezes locals (#11831)

The Thread thread variable backport didn't freeze the locals hash. This overrides freeze to freeze locals, and then call super.

https://github.com/rails/rails/issues/11831#issuecomment-22890710